pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: John DeSoi <desoi@pgedit.com>
To: sad@bestmx.ru
Cc: c k <shreeseva.learning@gmail.com>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Using Postgresql as application server
Date: Tue, 16 Aug 2011 09:23:53 -0400
Message-ID: <2EEF6F82-BF46-433E-85A7-E446E9F89BE0@pgedit.com> (raw)
In-Reply-To: <4E46C5FE.8080203@bestmx.ru>
References: <CAN2Y=uPjF14F5A9JXj02_vaPw4TMR0WGQid_w80xt4sC8o4qGg@mail.gmail.com>
<4E46B33B.7090801@bestmx.ru>
<CAN2Y=uM+jKpK7DGxTvfXE=wqR4__17zw+eW7NTA6AL17aGAMww@mail.gmail.com>
<4E46C5FE.8080203@bestmx.ru>
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 server the 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/back end 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.
view thread (88+ messages) latest in thread
Message-ID: <2EEF6F82-BF46-433E-85A7-E446E9F89BE0@pgedit.com> Permalink: ../2EEF6F82-BF46-433E-85A7-E446E9F89BE0@pgedit.com/ Also on: postgresql.org/message-id/2EEF6F82-BF46-433E-85A7-E446E9F89BE0@pgedit.com ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-admin@postgresql.org Cc: desoi@pgedit.com, sad@bestmx.ru, shreeseva.learning@gmail.com, pgsql-general@postgresql.org Subject: Re: [GENERAL] Using Postgresql as application server In-Reply-To: <2EEF6F82-BF46-433E-85A7-E446E9F89BE0@pgedit.com> References: <CAN2Y=uPjF14F5A9JXj02_vaPw4TMR0WGQid_w80xt4sC8o4qGg@mail.gmail.com> <4E46B33B.7090801@bestmx.ru> <CAN2Y=uM+jKpK7DGxTvfXE=wqR4__17zw+eW7NTA6AL17aGAMww@mail.gmail.com> <4E46C5FE.8080203@bestmx.ru> <2EEF6F82-BF46-433E-85A7-E446E9F89BE0@pgedit.com> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox