Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Iterating PHP Iterators

Posted By: AlenMiler
Iterating PHP Iterators

Iterating PHP Iterators by Cal Evans
English | April 12, 2015 | ASIN: B00W1TDFH8 | 78 Pages | MOBI/EPUB/PDF (conv) | 2.7 MB

Looping over collections is something all programmers do. We keep writing the same code and building the same loops in project after project. PHP has us covered though. We don't have to continue to re-invent the loop, we can use the tools provided.

The Standard PHP Library (SPL) gives you the tools you need

An important part of the SPL is the collection of Iterator classes and interfaces. These bits of magic, like the rest of the SPL, will change the way you program. They are power tools in every PHP programmer's toolbox. Like other power tools, if used safely, they can make a difference in how you code, and how fast.

Iterators help you create better programs, "Iterating PHP Iterators" will help you create iterators

"Iterating PHP Iterators" will show you the basic of PHP's Iterators. You will see how to implement them in your own code, as well as use them to do eveyrthing form filtering input to stupid party tricks.

This is a great book for beginners and intermediate developers. It’s a comprehensive introduction to iterators and some of the implementations that ship with the SPL.

- Christopher Pitt (Iterating PHP Iterators Review)
Easy start for beginners, but enough meat for those who already use Iterators

- Mark (@Mark_Baker) Baker

"Iterating PHP Iterators" is part of the "Learn One Thing Books" series.