iterators

SitePoint PHP Blog: Simple Object Iterators in PHP

PHPDeveloper.org  Thu, 04/28/2011 - 11:15

On the SitePoint PHP blog today there's a new post from Craig Buckler looking (quickly) at a handy feature of the Standard PHP Library (SPL) that can help make working with objects and arrays simpler - object iterators.


 

On Iteration

Lambda the Ultimate - Programming Languages Weblog  Wed, 05/12/2010 - 11:52

On Iteration, by Andrei Alexandrescu.


 

EventMachine: Get Excited By Scalable Non-Blocking I/O

Ruby Inside  Thu, 03/18/2010 - 18:36

EventMachine is a simple(ish), fast, event-driven I/O library for Ruby.

Its goal is to provide highly scalable I/O performance with an easy-to-use API wrapped around the nastiest parts of the process (since typical Ruby coding practices aren't particularly event-driven friendly).


 

Using Iterators in PHP

Linux Today  Fri, 10/23/2009 - 13:32

DevX: "This article shows you how to use the most important iterator classes: ArrayIterator, DirectoryIterator, FilterIterator, and so forth, found in the Standard PHP Library (SPL), and how to integrate SPL with PHP Data Objects (PDO)."


 

Rafael Dohms' Blog: Iterating over life with SPL Iterators I: Di...

PHPDeveloper.org  Thu, 10/08/2009 - 10:57

Rafael Dohms has posted the first part of a series he's writing looking at the Iterators that come with the Standard PHP Library (SPL).

In this first article he focuses on Directory iterators.


 

Rob Young's Blog: Chunking Large Queries with Iterators in PHP

PHPDeveloper.org  Wed, 10/07/2009 - 09:42

Since sometimes you just don't want all of the results of a query back at once, Rob Young has posted a solution of his own using the Iterators included with PHP as a part of the SPL.

His solution is to wrap it in a ChunkedQueryIterator that handles the work behind the scenes.


 

DevShed: Using Directory Iterators to Build Loader Apps in PHP

PHPDeveloper.org  Mon, 07/06/2009 - 09:17

DevShed finishes off their "loader" series of tutorials today with this eighth part focusing on the use of Directory Iterators.


 

Rafael Dohms' Blog: SPL: a hidden gem

PHPDeveloper.org  Wed, 06/10/2009 - 10:19

Earlier this month Rafael Dohms posted a new article to his blog looking at a feature of PHP it seems not every developer knows about - the Standard PHP Library (or SPL).


 

Procurios Blog: Syntactic Sugar for MySQLi Results using SPL Ite...

PHPDeveloper.org  Fri, 05/15/2009 - 10:14

From the Procurios blog there's a recent post looking at a method letting you use a foreach on the results from a MySQLi request - SPL Iterators.