[GENERAL] Advice about software engineering inside Postgres? - Mailing list pgsql-general

From Guyren Howe
Subject [GENERAL] Advice about software engineering inside Postgres?
Date
Msg-id B5D7CF14-844C-4289-B7C4-B336D422EAD5@gmail.com
Whole thread Raw
Responses Re: [GENERAL] Advice about software engineering inside Postgres?  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-general
I’m working on a project to get the likes of web developers to make more effective use of Postgres. This amounts to saying that much of the M in MVC should be implemented as code and relations in Postgres.

The more I think about this, the more I see that a model written in Node, say, that just does queries against the database would be written quite differently as PLV8 stored procedures, triggers and functions inside Postgres. It would have a more purely functional style, you would implement many things as functions that could be used in views and queries, you can write functions that are callable between programming languages, you can write functions that act as result set generators. And I’m sure there are other things I’ve not thought about. Oh: testing will likely be rather different.

Are there any good resources about using Postgres as a programming platform from within, as it were?

Thanks in advance.

pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: [GENERAL] JSONB Overlap Operator.
Next
From: Merlin Moncure
Date:
Subject: Re: [GENERAL] Advice about software engineering inside Postgres?