database abstraction layers in PEAR
| From: | Lukas Smith | Date: | Fri, 03 Jun 2005 09:34:46 +0000 |
| Subject: | database abstraction layers in PEAR | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-37950@lists.php.net to get a copy of this message | ||
Hi,
I have gotten little feedback on my blog post regarding the MDB2 API in relation to the PDO API. However all feedback I got was along the lines: go with the PDO API. So that is what I will do. As such the MDB2 API will become much more different than originally anticipated in relation to the PEAR DB API. So it goes. I know alot of people have invested alot of code on the PEAR DB API but its quite clear that the PDO API is where the future is at.
The next steps for me are as follows:
- split drivers into separate packages
- make a final MDB release (there are a number of bug fixes in CVS)
- work on the remaining MDB2 - PDO incompatibilities .. the biggest piece of work remains the merging of the statement and result class
- write a PDO based core driver, that specific PDO drivers can be based on
Again the goals behind MDB2:
- provide true SQL abstraction (PDO does not have this goal)
- offer a PDO like API for PHP4 users
- make it easy for PHP users to migrate from/to MDB2/PDO
- provide a framework for custom database related code
I would really appreciate it if people would help here. Its quite a huge task. The bulk of the work is done, but it took over 2 years to get this far. So anyone willing to be a co-lead for a driver please step up! Anyone interested in helping with the core of MDB2 are also welcome.
regards,
Lukas