<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 21 Nov 2008 22:17:54 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Iterators in the Simplest Sense - Traversing Data Structures in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/5035</guid>
      <link>http://www.phpdeveloper.org/news/5035</link>
      <description><![CDATA[Wrapping up their series on Iterators in PHP, DevShed has posted <a href="http://www.devshed.com/c/a/PHP/Iterators-in-the-Simplest-Sense-Traversing-Data-Structures-in-PHP-5/">Traversing Data Structures in PHP 5</a> - a look a combining embedded classes with the SPL to work through your data.
<p>
<quote>
<i>
Welcome to the final part of the series "Iterators in the Simplest Sense." In this set of articles, you'll learn the basic concepts of iterators in PHP 4 and PHP 5. The overall learning experience is strongly focused on the practical sense of the topic, so you can start quickly using iterators within your own PHP applications.
<p>
In this last article I'll explore the implementation of PHP 5 iterators, by utilizing some of the embedded classes that integrate the powerful SPL package. Thus you can learn quickly how to include these programming structures inside your PHP applications.
</i>
</quote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Iterators-in-the-Simplest-Sense-Traversing-Data-Structures-in-PHP-5/1/">jump right in</a> and start working with the SPL functions to create a simple, readable iterator class ("FileIterator"). They follow this with two examples building on the class - one that works with data from a text file, and the other from a MySQL database.]]></description>
      <pubDate>Thu, 23 Mar 2006 07:26:35 -0600</pubDate>
    </item>
  </channel>
</rss>
