Re: DB Abstraction

From: Date: Sun, 31 Mar 2002 11:22:09 +0000
Subject: Re: DB Abstraction
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-81979@lists.php.net to get a copy of this message
Hi > What PHP really needs is a common C API for (1) and possibly (2) that > the database extensions themselves provide. That way there would be no > need for additional layers written in PHP or piggyback hacks like dbx > (sorry Marc :). Don't worry, I know what it is, it is still useful to me though :-) I agree that there should be a common api for 1 and 2, and I would take this one step further and say that this should be the _only_ api to all databases... and yes, I know about BC and that this won't happen because of that. But suppose there is a good db-api that everybody can agree on (and possibly good api's for other functionality that needs this kind of abstraction), would it be a good idea to create a new php-package for every release, called 'pure-php' or something, that would leave out all the proprietary api's and just include any common api's? Cheerio, Marc.

« previous php.dev (#81979) next »