I thought about sharing some design patterns (expressed in PHP) I have documented. The first one is the borg. This design pattern serves as a good alternative option to the well-known singleton pattern.
The advantages of the borg are:
- no need in client classes for special creation / access methods
- easily sub-classed
- more easily testable
The project is located at GoogleCode.