News Feed
Sections




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

DevShed:
User-defined Interfaces in PHP 5 - Turning MySQL Classes into Interface Implementers
January 02, 2006 @ 16:18:06

DevShed has posted the third part of their "User-defined Interfaces in PHP5" series today, this one focusing on the conversion of MySQL classes into interface implementors.

Returning to this part of the series, I'll demonstrate how useful interfaces can be, by implementing the "HTMLRenderer" interface on a couple of MySQL processing classes that have nothing in common with the (X)HTML widgets explained in the previous tutorial. In this way, by the end of this article you'll have a decent background for working with interfaces as well as a clear idea about its concrete implementation in PHP applications.

By using the code generated in the previous tutorial of the series, they show you how to use it in a more real-life situation, rendering the results in an HTML automatically...

0 comments voice your opinion now!
user-defined interface mysql implement display HTML table user-defined interface mysql implement display HTML table


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: How to Use the JsonSerializable Interface

Kae Verens' Blog: pre-parsing HTML for incorrectly-sized images

Chris Hartjes' Blog: Doing RADAR in CakePHP

Doug Brown's Blog: Zend_Cache is Saving me Money!

DevShed: Creating the Blog Script for a PHP/MySQL Blogging System (Part 2)


Community Events

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


version example introduction opinion xdebug interview release conference voicesoftheelephpant library api extension series symfony2 podcast php7 community laravel framework performance

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