[GENERAL] Advice about software engineering inside Postgres?

Поиск
Список
Период
Сортировка
От Guyren Howe
Тема [GENERAL] Advice about software engineering inside Postgres?
Дата
Msg-id B5D7CF14-844C-4289-B7C4-B336D422EAD5@gmail.com
обсуждение исходный текст
Ответы Re: [GENERAL] Advice about software engineering inside Postgres?
Список 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 по дате отправления:

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: [GENERAL] JSONB Overlap Operator.
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: [GENERAL] Advice about software engineering inside Postgres?