You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Serious question! What is the use case for this? I cannot come up with a perspective, but I'm curious what brought you to the conclusion that this is a useful project / extension?
The text was updated successfully, but these errors were encountered:
You have to change your perspective on what Postgres is. If you just see it as a place to store your application data, then yeah it’s confusing. Especially when you hide the database behind an ORM.
It is much more than that though. It is a complete self contained ecosystem for building applications. When used in tandem with a tool like PostgREST or Omnigres, you can completely eliminate the need for any sort of custom middle layer (e.g. an express app, flask app, etc that serves your API routes). Which usually just act as a proxy layer between the database and the client anyway. You instead express your endpoints as schemas and stored procedures. PostgREST handles the creates of these endpoints for you. You end up with something akin to GraphQL (but not actually gql).
This presents a problem though. What if you don’t want to write a separate frontend codebase in React or Angular or something? What if, instead, you want to serve HTML directly? Traditionally you’d use a template rendering library that comes with your favorite framework. Jinja, Mustache, Pug, etc. But those require that middle layer that we have eliminated.
That’s where PGTera comes in. It gives you the power to serve those HTML templates directly from this PostREST or Omnigres ecosystem.
It may seem strange at first, but it’s actually a far better way do web development in practice.
Serious question! What is the use case for this? I cannot come up with a perspective, but I'm curious what brought you to the conclusion that this is a useful project / extension?
The text was updated successfully, but these errors were encountered: