News Feed
Sections




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

DevShed:
The mysqli Extension and the Active Record Pattern
April 15, 2009 @ 10:27:56

DevShed.com has posted the seventh article in their series looking at the Active Record design pattern in PHP applications. In this latest tutorial they show how to replace the older MySQL client libraries and use the newer mysqli client instead.

Well, as you'll surely recall, I built this class by using the old MySQL library included with the PHP distribution, which is good and efficient. But it's worth making the effort to see how this sample class can be rewritten by using the newer, revamped "mysqli" extension. Thus, this last episode will be dedicated exclusively to doing this, so you can have at your disposal an enhanced versions of the class.

For most of the code, you won't see too much of a change - the methods are named similarly and the results are references differently, but you shouldn't have to make too much of a change.

0 comments voice your opinion now!
extension mysqli activerecord design pattern tutorial


blog comments powered by Disqus

Similar Posts

Klaus Graefensteiner's Blog: Getting Wordpress installed in a jiffy on Windows 7 using the WPI

Richard Thomas' Blog: Pjq becomes jQPie - jQuery PHP interface extension

Rob Morgan's Blog: Howto Publish a Pear Package on Pearhub

Community News: Announcing Go Live Beta of FastCGI Extension for PHP hosting on IIS5.1/IIS6.0

DZone.com: Building a Flickr Slideshow with NetBeans IDE 6.5


Community Events





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


security voicesoftheelephpant series composer language opinion framework introduction release update version package podcast interview install community library tool laravel symfony

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