Git Product home page Git Product logo

pg-html's Introduction

💻Tech Stack

C C# CSS3 Elixir Go HTML5 Java JavaScript Kotlin LaTeX Markdown PHP Python Rust Shell Script TypeScript Cloudflare .Net Angular Chart.js Express.js FastAPI Fastify Flask NPM Next JS NodeJS React React Router Svelte TailwindCSS Vue.js Vuetify Webpack Nginx Apache MongoDB Postgres Redis MySQL Docker Kubernetes Swagger Terraform Raspberry Pi

📊GitHub Stats :




pg-html's People

Contributors

3n3a avatar

Watchers

 avatar  avatar

pg-html's Issues

Caching Idea

  1. Request for a specific queries' HTML comes into DB
  2. Check if contained in Cache
    2.1. YES: Return output -- END
    2.2. NO: CreateAndSave

CreateAndSave

  • Creates the HTML for given Query
  • Saves created HTML in Cache
  • Adds Trigger for Query to all the Tables that Query depends on. If there are any.
    • Trigger meaning that when you INSERT / UPDATE into the Table it regenerates the HTML (preferably after inserting lol)
    • The queries to these triggers shall be stored in a table

Templating

User is able to provide Base Template. Then there would be functions that could generate Tables, Charts, text idk.

The generated stuff would then be placed into the template.

Implementation of Template

  • format(formatstr text [, formatarg "any" [, ...] ])
  • regexp_replace ( string text, pattern text, replacement text [, flags text ] ) → text
  • replace ( string text, from text, to text ) → text

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.