Sponsor: The CSS Anthology
The CSS Anthology: 101 Essential Tips, Tricks & Hacks (external link)
Blog Entry
Design Patterns in PHP
Published on the 8th of September 2007
If you have ever picked up a book or visited a website about design patterns, it is almost certain the examples in those resources are in Java. However, Doug on the forums posted a link to the website Patterns for PHP (external link), which focuses on design patterns in PHP. Currently they have articles on a good selection of design patterns:
- Singleton
- Registry
- Factory
- Abstract Factory
- Strategy
- Composite
- Decorator
- Lazy Initialisation
- Transfer Object
For the most part these are the design patterns that people will use the most. If you have not utilised design patterns or simply want a quick resource to reference, then you should check out Patterns for PHP (external link).
Sponsor: Songbird Media Player
Desktop web player, a digital jukebox, and web browser mash-up. (external link)

