PHP Tutorials on Patterns
Patterns are recogised ways of solving common coding problems. Below are a selection of the best patterns out there.
The factory pattern is one of the most widely used patterns. This article instructs you how to use this pattern.
There is a lot of talk about MVC but just how useful is it as a web development pattern?
The singleton pattern is a pattern that ensures there is only ever one instance of a class. This article instructs you on how to implement the singleton pattern in PHP.
The state pattern allows changable parts of a class to be seperated out, which eliminates the need for large amounts of if statements within a class. Increasing how object orientated a class is.
This article discusses how to implement templating successfully.