Iterator Article in July php|architect
I think the iterator chapter does a good job of being a representative sample of the book. I had both php4 and php5 code example, show a “pure” Gang of Four style iterator, as well as a more abreviated API version, and showed a bit of how to use the SPL iterator interface. It has a splash of UML, tons of code and SimpleTest based unit tests as well.
If you have any questions or feedback, feel free to leave a comment here, or post a message to the php|architect forum.