Re: [GENERAL] Using Postgresql as application server - Mailing list pgsql-admin

From John DeSoi
Subject Re: [GENERAL] Using Postgresql as application server
Date
Msg-id 2EEF6F82-BF46-433E-85A7-E446E9F89BE0@pgedit.com
Whole thread Raw
In response to Re: Using Postgresql as application server  ("sad@bestmx.ru" <sad@bestmx.ru>)
List 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 by date:

Previous
From: Greg Spiegelberg
Date:
Subject: Re: lo_import/lo_export in other table
Next
From: Scott Marlowe
Date:
Subject: Re: Using Postgresql as application server