implementing a JDBC like api in PHP

php.internals

Daniel Penning

23 years ago
Hi PHP5 should support a standardized oo way to access databases of any type. I heard that mysqli will include a oo way to access the database. This api should be the standard for all other database extensions. All future extensions should have their native functions as it is now and have to implement the Database api. An idea of how this api might look like can be seen at http://home.t-online.de/~s0nix/odbx/mysql.htm This includes a small implementation based on the mysql extension for testing purposes. Daniel Penning

Cristiano Duarte

23 years ago
This discussion simply doesn't belong on internals@, please, take it off this list. Try pear.devl. Cristiano Duarte. "Daniel Penning" <dpenning@s0nix.de> escreveu na mensagem news:8554218652.20030808010604@s0nix.de...

l0t3k

23 years ago
if you're talking about PHP code, then something like this exists already. check Pear::DB. if you're talking about an extension, Sterling mentioned something like this on his blog (http://blog.edwardbear.org) about a month back. heck, if youre sufficiently motivated, i can send you an archive of the work i put into the one i was writing (currently abandoned). l0t3k

Zeev Suraski

23 years ago
Do you mind relaxing? Thank you. Zeev At 06:00 08/08/2003, Cristiano Duarte wrote: