PHP Design Patterns
As soon as you are working on your first bigger project, you will find out that there are several tasks that you’ll have to do again and again. No matter which programming language you are using, this is where Design Patterns come into play.
When I started writting this post, I actually wanted to write a survey of design patterns. I quickly discarded this idea because of two reasons: first, there are dozens of design patterns and I don’t want to spend months on this single article ;-). The second reason was that there are already plenty of ressources where you’ll find very usefull tutorials / information about design patterns. Hence, instead of reinventing the wheel, I would like to point out some websites on PHP design patterns I found quite usefull:
- Nathan Good briefly discusses the following design patterns on IBM’s developerWorks site: adapter pattern, iterator pattern, decorator pattern, delegate pattern, and the state pattern.
- Another very usefull introduction into important design patterns is given here by Jack Herrington. He focuses on the factory pattern, the singleton pattern, the observer pattern, the chain-of-command pattern and the strategy pattern.
- Last but not least, the Zend Framework documentation will also be a usefull ressource for you, if you would like to use some of the build-in design patterns like the Model-View-Controller pattern or the decorator pattern.
No related posts.

CSS Zend Garden
KingCrunchs kleine Welt