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.