Re: Database abstraction

From: Date: Tue, 13 Jan 2004 22:42:11 +0000
Subject: Re: Database abstraction
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-32378@lists.php.net to get a copy of this message
On Wednesday 14 January 2004 06:04, Malte Starostik wrote: > Why is there no modularization in this area, such that it'd be the _normal_ > way not to write things like $dbh = ibase_pconnect( ... ), but $dbh = > sql_connect( "Firebird", ... ) > and that would internally check if a Firebird/InterBase driver is available > and if so, use it. > Surely there are some differences in SQL conformance and syntax extensions, > but even that could be handled by such a layer to some extent. Whilst there isn't a builtin database abstraction layer in PHP itself there are a number of projects which fills the gap. There's the semi-official PEAR-DB, also ADODB and Metabase. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-db ------------------------------------------ /* Will you loan me $20.00 and only give me ten of it? That way, you will owe me ten, and I'll owe you ten, and we'll be even! */

« previous php.db (#32378) next »