Iterators are an awesome and important feature of PHP, and PHP comes with a lot of them built in too. Let’s talk about what they are, how they’re used, and how to make your own. Then we'll talk about Generators, which were introduced in PHP 5.5, and that take Iterators to the next level. And… we can’t talk about Iterators without also discussing composition and the Decorator design pattern. After all, many of the SPL Iterator classes are Decorators too.


Comments are closed.

Joseph Lavin at 14:03 on 21 Sep 2018

Great talk! Lot's of useful knowledge that I can start using tomorrow.

Andy Snell at 10:56 on 22 Sep 2018

I really appreciate talks that can take a concept from "I know I should be probably be using this" to "I can use this today". A very clear explanation of the three subject areas and how they relate.

John Congdon at 13:56 on 22 Sep 2018

They say to truly get something, you have to have an AHA moment, and Jeremy was able to help me have my own AHA. Iterators are finally starting to make sense to me.

The poem in the middle of the presentation was fun and different.

Jeremy Lindblom (Speaker) at 10:18 on 24 Sep 2018

Here's the full poem: