News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Richard Heyes' Blog:
PEARDB database class(es) replacement
June 06, 2007 @ 12:39:00

In a new post Richard Heyes links to a replacement for the popular PEAR::DB package:

PEAR::DB is all well and good if you want to connect to multiple databases (I assume, I've never actually used it with anything other than mysql) but it is somewhat hefty on the bad side of 60k. Not a good thing if you're not using some sort of accelerator and have a high traffic site. Here's a class which replicates the PEAR::DB API (the bits that I use anyhoo) and weighs in at a much nicer ~11k. Sweet.

The class is posted for download here as a simple PHP source file with functions and values named similar to those in the PEAR::DB package.

0 comments voice your opinion now!
peardb package library replacement mysql small peardb package library replacement mysql small


blog comments powered by Disqus

Similar Posts

Secunia.com: Fedora update for PHP

Zend Developer Zone: The Storage Medium

Padraic Brady's Blog: Installing PHP 5.3.1 On Ubuntu 9.10 (Karmic Koala) With aptitude/apt-get

DevShed: Performing Basic Tasks with MySQL 4.1 and Above, using mysqli with PHP 5

Greg Beaver's Blog: problem with PHP_Archive-based phars tracked to odd unpack() bug


Community Events





Don't see your event here?
Let us know!


voicesoftheelephpant opinion podcast extension laravel version introduction unittest language community configure release interview composer install symfony series list api conference

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework