Iterator Article in July php|architect
By Jason. Filed in PHP |This months php|architect magazine has one of the chapters of my design patterns book as the lead article. You can download just the article as the sample chapter for the book.
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.
Thursday, July 21st 2005 at 8:15 am |
A little error on the url of SimpleTest : htpp://simpletest.org
Thursday, July 21st 2005 at 9:22 am |
That is the Hyper-Text Premium Protocol, perhaps your browser does not yet support it