Re: Php abstraction layers - Mailing list pgsql-general

From Greg Stark
Subject Re: Php abstraction layers
Date
Msg-id 87hdd63j58.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: Php abstraction layers  ("Antimon" <antimon@gmail.com>)
Responses Re: Php abstraction layers  ("Gavin M. Roy" <gmr@ehpg.net>)
Re: Php abstraction layers  (Hannes Dorbath <light@theendofthetunnel.de>)
List pgsql-general
"Antimon" <antimon@gmail.com> writes:

> Thanks for the reply.
> I checked new 5.1 pg_ functions and i wanna ask something else. What do
> you think about PDO? It is not an abstraction layer, just something
> like wrapper. I thought as it supports both widely used dbmss, php
> developers would focus on it more than pg or mysqli functions and that
> can make it powerful.
> Would it be a good decision to use PDO instead of pg_ functions?

My understanding is that PDO is the way and the light. Use PDO.

Unfortunately my project began before PDO saw the light of day, but I plan to
migrate to it eventually.

--
greg

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: PQConnectdb SSL (sslmode): Is this a bug
Next
From: Greg Stark
Date:
Subject: Re: About "ERROR: must be *superuser* to COPY to or from a file"