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 Basics of Implementing Adapter Objects with PHP
December 06, 2006 @ 15:53:59

DevShed takes a look at another of the design patterns in a new series starting with this new tutorial - a look at the implementation of Adapter objects in PHP.

You may have already encountered situations in coding PHP applications in which you would like to use inheritance, but could not for one reason or another. Fortunately, there is an alternative for these situations that can help you achieve the same result. In this first article in a two-part series, you'll learn about the adapter pattern.

They start off with the basics of the Adapter pattern and move quickly into the first definition of a class using them - a directory processor. Once that's built, they show how it all works with a more practical example.

0 comments voice your opinion now!
adapter design pattern object tutorial part1 basics directory processor adapter design pattern object tutorial part1 basics directory processor


blog comments powered by Disqus

Similar Posts

Okaka Design Blog: Event calendar using Codeigniter and jQuery without BackendPro

Rafael Dohms' Blog: Deploying a Symfony2 and Composer app on PagodaBox

Zend Developer Zone: Reading and Writing Spreadsheets with PHP

NETTUTS.com: Top 50 Wordpress Tutorials

PHPBuilder.com: PHP and Adobe Air: Building a Time-tracking and Billing Application - Part II


Community Events





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


laravel release library podcast opinion series interview community api introduction list deployment symfony tips language framework install package voicesoftheelephpant bugfix

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