Re: [GENERAL] Using Postgresql as application server

From: David Johnston <polobo(at)yahoo(dot)com>
To: c k <shreeseva(dot)learning(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [GENERAL] Using Postgresql as application server
Date: 2011-08-13 17:12:12
Message-ID: 4405BEF7-6E71-4FD0-B70F-4E651E2A2381@yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On Aug 13, 2011, at 11:57, c k <shreeseva(dot)learning(at)gmail(dot)com> 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

Code yourself a nice "hello world" application that can accessed by a web browser and outputs in HTML using only PostgreSQL. IF you can actually do that simple task you will then be in a better position to decide if such an architecture is worth expanding upon.

The better question to ask is why wouldn't you want to use something like Tomcat or Apache+Programming Language?

David J.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message sad@bestmx.ru 2011-08-13 17:24:11 Re: Using Postgresql as application server
Previous Message c k 2011-08-13 15:57:14 Using Postgresql as application server

Browse pgsql-general by date

  From Date Subject
Next Message sad@bestmx.ru 2011-08-13 17:24:11 Re: Using Postgresql as application server
Previous Message George MacKerron 2011-08-13 16:11:31 Re: Functions returning setof record -- can I use a table type as my return type hint?