Pear::DB is dead. Long live PDO!
Pear::DB is deprecated in favor of Pear::MDB2. I guess this is a good thing because MDB2 is faster, smaller and provides more features. I only guess because I am not a pear user,I do not like Pear as its installation is really weird and the documentation is sometimes insufficient.
By now, two database abstractions are still active in the PHP community : PDO & Pear::MDB2. I recommend PDO If you are writing your application using PHP5 and/or you want your application to be really fast (PDO is a PHP inner class). Pear::MDB2 can be a good thing for PHP4 applications or if you need a high-level of database abstraction in your application.
the Pear::MDB2 package : http://pear.php.net/package/MDB2/redirected
the PDO Class : http://php.net/manual/en/ref.pdo.php
No comments yet
Leave a reply
