Breadcrumbs
Design Patterns in PHP
- Author
- Date
- Sat 8 Sep 2007 at 8:56
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).

