Federico Cargnelutti

Simple is better than complex. Complex is better than complicated. | @fedecarg

5 great articles on SPL Iterators

with 3 comments

Standard PHP Library (SPL) is a collection of interfaces and classes that are meant to solve standard problems and implements some efficient data access interfaces and classes. When PHP 5 was initially released, it included a strong sense of standardization introduced in the core package. This can be a real time saver when common programming issues must be solved through proven, standard solutions. That’s precisely the case with iterators, since the SPL package includes many predefined iterating classes that can be used for traversing different data structures, without having to reinvent the wheel over and over again.

Articles


Written by Federico

August 6, 2008 at 11:21 pm

3 Responses

Subscribe to comments with RSS.

  1. Excellent Resources! Thanks for the links!

    Jon

    August 8, 2008 at 12:26 am

  2. The phpro.org SPL iterators tutorial at http://www.phpro.org/tutorials/Introduction-to-SPL.html is the most comprehensive I have seen. Excellent resource, thanks guys.

    Smithy

    August 10, 2008 at 5:50 am

  3. Yes excellent indeed thanks!!!

    Egbert Wietses

    November 5, 2008 at 12:55 pm


Leave a Reply