Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id BDF8CB5DBE9 for ; Mon, 15 Aug 2011 17:44:46 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 08240-09 for ; Mon, 15 Aug 2011 20:44:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from pd4.baremetal.com (pd4.baremetal.com [209.17.165.1]) by mail.postgresql.org (Postfix) with ESMTP id 2C927B5D803 for ; Mon, 15 Aug 2011 17:44:39 -0300 (ADT) Received: from Darren-Duncans-iMac.local (S0106000f66d65e51.gv.shawcable.net [96.54.45.173]) by pd4.baremetal.com (8.13.4/8.13.4) with ESMTP id p7FKickA006788 for ; Mon, 15 Aug 2011 13:44:38 -0700 Message-ID: <4E498536.9080109@darrenduncan.net> Date: Mon, 15 Aug 2011 13:44:38 -0700 From: Darren Duncan User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: Re: Using Postgresql as application server References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.36 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201108/451 X-Sequence-Number: 178733 c k wrote: > Dear Postgres users, > from last few months I am reading and searching for can postgresql used > as application server? As postgresql supports many languages like > pl/perl, pl/python etc, supports dblink like functions to connect to > other postgresql servers and now features are in development to use > external data. Postgresql works well on many operating systems and has a > stable and good quality code. As many users are using plpython or plperl > to work on many types of data and to implement logic that can be useful > in web application management. > So i am thinking if I can use postgresql as web application server. > Few points that supports this opinion: > 1. multiple languages support for stored procs and triggers. > 2. can connect to other postgresql servers or databases > 3. it is easy to manage stored procs or triggers than managing web > application in other servers. > 4. data and logic/processing can be separated. One postgresql can be > used as application server and another as database. > 5. stable, mature and open codebase. > > I request to users and developers give your suggestions and opinions. > Waiting for your replies. > > Thanks and regards, > > Chaitanya Kulkarni I believe that it is ideal for Postgres to be computationally complete in that one *could* use it to implement a complete application. That isn't to say one should do this as a matter of course, good to use appropriate tools for a job, but that it should at least be possible if one wanted to. -- Darren Duncan