News Feed
Sections




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

DevShed.com:
The Iterator Pattern (Conclusion)
December 02, 2005 @ 07:01:50

DevShed.com has posted the conclusion article in their "The Iterator Pattern" series (excerpt from this php|architect book).

This article, the second of two parts, explains how to use the Iterator pattern to manipulate any collection of objects.

With Iterators,you can do more than just present each item of the collection. You can also select what items are presented.

They also give two examples of Iterator situations - a Sorter and an SPL (Standard PHP Library) Iterator...

0 comments voice your opinion now!
pattern iterator book excerpt php|architect pattern iterator book excerpt php|architect


blog comments powered by Disqus

Similar Posts

Slashdot.org: PHP 5 Recipies

Jani Hartikainen's Blog: The "do X or die()" pattern must die

DevShed: Implementing with PHP: Standalone Scripts

Community News: php|architect and Pro PHP Podcast Team Up

php|architect: 7 Promotions for 7 Days - January 5th - Any PDF Issue for $0.99 USD


Community Events





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


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

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