3 ms·
You use the best tool and write code at the appropriate layer. I don’t think anyone suggests writing the entire application in the database (though you can with
by gregjor 3y ago
You use the best tool and write code at the appropriate layer. I don’t think anyone suggests writing the entire application in the database (though you can with Oracle).
UI and interfacing with external services will most likely prove simpler to implement in an application layer. Google and Stripe don’t have SDKs for Postgres.
If the application needs a relational database at all it makes sense to get the most value out of the RDBMS.
- throwaway11460 3y agoPostgres has extensions to make HTTP requests, to write JS (etc) code, and so on. Check out Supabase, the goal is exactly this - use Postgres as your whole application layer, Supabase as the access point.