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

Wez Furlong's Blog:
PDO Driver Howto Online
Oct 18, 2005 @ 10:25:01

Wez Furlong has a quick post today about a PDO Driver HowTo that's been posted online from some of the folks at IBM.

Thanks to Bill Abt and Rick McGuire of IBM, preliminary documentation for writing a PDO driver is now part of the PHP manual.

It was originally written against an earlier of incarnation of PDO, so some parts may not be 100% correct. If you're thinking of adding support for other databases to PHP, then you should read the howto and give it a whirl. If you find an inaccuracy, drop a line to pecl-dev@lists.php.net and we'll set you straight and fix the docs.

There are sections to guide you through the entire process - prerequisites, building the driver, packaging and distributing it, and error handling - just to name a few. If you've been looking to work with PDO on a more base level but have been muddling through the code to get it working, here's a chance to understand it all...

tagged:

Link:


Trending Topics: