pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hannu Krosing <hannu@trust.ee>
To: mlinvill@winstar.com
Cc: Daniel Stolk <stolkd@email.com>
Cc: pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] Trying to find a PostgreSQL interface
Date: Wed, 25 Aug 1999 10:17:36 +0300
Message-ID: <37C39890.269FF699@trust.ee> (raw)
References: <Pine.BSF.4.02A.9908242257450.9526-100000@laf.cioe.com>

Mark Linvill wrote:
> 
> On Tue, 24 Aug 1999, Daniel Stolk wrote:
> 
> >Hi,
> >
> >I'm needing to access my PostgreSQL database from the web, or actually
> >the customers need to.  I was originally using C with the libpq library,
> >but I was wondering if there are some programs out there that would make
> >it easier and faster for me to set things up?  If there aren't, what
> >kind of interface would be best to use?  I was looking at PHP, but I'm
> >not sure it will be as powerful as C, but maybe it is powerful enough.

You may also try Zope (http://www.zope.org)

> IMHO, PHP is plenty powerful enough.  Development time is
> fabulously quick.  The only possible issue might be execution speed.
> Not that PHP is slow, but it can't beat a C CGI.

AFAIK you can save the CGI startup costs as PHP is loaded as a module in 
Apache. If it has persistent database connections (like Zope) then you
also
save the DB connection setup and so it can easyly beat C CGI on anything 
but most compute-intensive tasks.

-----
Hannu



view thread (7+ messages)  latest in thread

Message-ID: <37C39890.269FF699@trust.ee>
Permalink:  ../37C39890.269FF699@trust.ee/
Also on:    postgresql.org/message-id/37C39890.269FF699@trust.ee

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: hannu@trust.ee, mlinvill@winstar.com, stolkd@email.com, pgsql-interfaces@hub.org
  Subject: Re: [INTERFACES] Trying to find a PostgreSQL interface
  In-Reply-To: <37C39890.269FF699@trust.ee>

* 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