Re: [GENERAL] Using Postgresql as application server

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: [GENERAL] Using Postgresql as application server
Дата
Msg-id 2EEF6F82-BF46-433E-85A7-E446E9F89BE0@pgedit.com
обсуждение исходный текст
Ответ на Re: Using Postgresql as application server  ("sad@bestmx.ru" <sad@bestmx.ru>)
Список pgsql-admin
On Aug 13, 2011, at 2:44 PM, sad@bestmx.ru wrote:

> c k wrote:
>> Yes, I know that I can not create a simple web application using only postgresql because we need a web server to
serverthe html content. 
> u r wrong.
> u CAN!
>
> there is nginx_htttp_postgresql_module
> exactly to connect webserver directly to postgresql
> and to OUTPUT query result to a browser.
>


You could also use something like node.js which allows you to connect Javascript directly to Postgres using the front
end/backend protocol.  

With something like this, you could talk directly to Postgres from the browser:

http://ajaxian.com/archives/tcpsocket-sockets-in-the-browser

http://www.postgresql.org/docs/9.0/interactive/protocol.html

I'm not saying this is the right approach, but if that is what you are really after...



John DeSoi, Ph.D.




В списке pgsql-admin по дате отправления:

Предыдущее
От: Greg Spiegelberg
Дата:
Сообщение: Re: lo_import/lo_export in other table
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Using Postgresql as application server