2.4. Summary

This chapter focused on a few tools that already exist in PHP and your IDE that can help jump-start your Design Pattern-based programming. You learned about the Design Pattern immersion in PEAR, the Zend Framework, and Doctrine by looking at both the usage and construction of the individual classes in these libraries. The Standard PHP Library also houses a helpful set of interfaces and classes that provides some necessary building blocks for applying Design Patterns in new architecture. Finally, you created a code snippet in Eclipse PDT to make it easier to stick with these programming best practices by reducing the need to retype code required by the Iterator interface.

The next sections of this book are the reference chapters and focus on the specifics of some of the Design Patterns mentioned so far as well as providing some additional ones to expand your pattern repertoire.

Get Professional PHP Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.