Home arrow PHP arrow Building an Iterator with PHP
PHP

Building an Iterator with PHP


Want to clean up you code and save hardware usage? Well it is possible thanks to Dejan's iterator technique. Read how it is done.

Author Info:
By: Dejan Bosanac
Rating: 4 stars4 stars4 stars4 stars4 stars / 18
August 15, 2003
TABLE OF CONTENTS:
  1. · Building an Iterator with PHP
  2. · Article
  3. · Conclusion

print this article
SEARCH DEVARTICLES

Building an Iterator with PHP
(Page 1 of 3 )

PHP arrays are generally a very powerful object container. But, we can easily add a little more fuel to them. Imagine an iterator object as a kind of wrapper around our arrays. What we will try to accomplish is to build a unique interface for traversing arrays and to add a little more control over how our objects are created. Finally, I'll explain how they can be used to support lazy loading.
blog comments powered by Disqus
PHP ARTICLES

- Removing Singletons in PHP
- Singletons in PHP
- Implement Facebook Javascript SDK with PHP
- Making Usage Statistics in PHP
- Installing PHP under Windows: Further Config...
- File Version Management in PHP
- Statistical View of Data in a Clustered Bar ...
- Creating a Multi-File Upload Script in PHP
- Executing Microsoft SQL Server Stored Proced...
- Code 10x More Efficiently Using Data Access ...
- A Few Tips for Speeding Up PHP Code
- The Modular Web Page
- Quick E-Commerce with PHP and PayPal
- Regression Testing With JMeter
- Building an Iterator with PHP

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials