News Feed
Sections




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

DevShed:
Introducing the Chain of Responsibility Between PHP Objects
October 30, 2006 @ 12:18:00

DevShed is starting off a new series today with this first article talking about how to introduce the "chain of responsibility" method in how you use your objects.

In this three-part series, I'll show you how to create a chain of responsibility across different classes, which hopefully will give you a better understanding of how this schema can be implemented with PHP.

Since it's just the first part in the esries, they start with the whys and hows of the chain of command process before getting on with the actual code. For the foundation, they create some subclasses that will make the parts of the chain. Next up is combining them and, finally, making the "master class" to combine the links of the chain together. They use a "DataServer" example to work with local files.

0 comments voice your opinion now!
tutorial chain responsibility object process pattern subclass tutorial chain responsibility object process pattern subclass


blog comments powered by Disqus

Similar Posts

NetTuts.com: Installing and Using PHPMyAdmin with WordPress

Zend Developer Zone: Dynamically Generating PDF Files with PHP and Haru

HowTo Forge: Installing Lighttpd With PHP5 And MySQL Support On Mandriva 2008.0

Kevin Schroeder's Blog: Authentication Using Zend_Amf

Gonzalo Ayuso: Working with jQuery and Silex as RestFull Resource provider


Community Events

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


interview api podcast psr7 release language library series development community unittest framework introduction laravel5 laravel opinion video conference voicesoftheelephpant extension

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