Re: Database Abstraction Class
| From: | Paul M Foster | Date: | Sat, 07 Mar 2009 22:07:46 +0000 |
| Subject: | Re: Database Abstraction Class | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289562@lists.php.net to get a copy of this message | ||
On Sat, Mar 07, 2009 at 12:34:40PM -0500, Eric Butera wrote:
<snip>
>
> PDO. :) Anything else is a waste of cpu cycles.
I've looked into PDO, and I just didn't find it as feature-rich as the
"native" (non-OO) function assortment for database types like MySQL and
PostgreSQL. Can PDO be extended?
In any case, I just wrote my own driver class for each DB type, and then
a function which instantiates the appropriate driver with the
appropriate parameters.
Paul
--
Paul M. Foster