Tag Archives: singleton
The Singleton Pattern: OOP Techniques in PHP
Posted on 02. Mar, 2009 by Will Fitch.
4
The singleton pattern is a common pattern used to make resources exclusive in that there is one of a particular type of resource. The most common usage of this is database connectivity. Typically, an application only wants a single connection to a single database server at any given time. This is where the singleton pattern comes in.



