Re: MDB2 API

From: Date: Thu, 14 Jul 2005 17:24:11 +0000
Subject: Re: MDB2 API
References: 1 2 3 4 5  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-38653@lists.php.net to get a copy of this message
Justin Patrin wrote:
The goal of PDO is faw away from the goal of MDB2. PDO is merely an internal database wrapper, MDB2 tends to be a real abstraction layer. I doubt mapping the PDO API will be of any help. I agree with Jan, go with yours.
I also agree. If you think that the PDO API is user unfriendly then there's no reason to switch to it.
As a result MDB2 would have to wrap PDO instead of potentially simply extending PDO. Plus it means that the "upgrade" from PDO will be needlessly painful. But yes I think that the PDO API is not well fitted into the PHP world and makes alot of clever reuse of methods based on context making it very unfriendly in many details. Davey: you have made some "real world" use of PDO. Whats your take on things? Other comments? regards, Lukas

« previous php.pear.dev (#38653) next »