Re: Abstracting a database class
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Abstracting a database class

From: Janwillem Borleffs <jw@jwscripts.com>
Date: Sun Jan 01 2006 - 02:17:00 CET

Full Decent wrote:
> I've been using PHP for a while and I'm hearing that I should look
> into using it OO. I'm looking into making changes to the program
> Camera Life (http://fdcl.sf.net). I want to abstract the connection
> to the database which is currently MYSQL and maybe implement another
> database, or just leave it open for addition. If I get lucky and get
> the hang of this, I'd also like to abstract calls to GD.
>

You might want to take a peek at the following:

http://www.php.net/dbx/

Or for PHP5:

http://www.php.net/pdo/

JW
Received on Tue Jan 3 03:51:19 2006