How to use the Singleton Design Pattern
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
How to use the Singleton Design Pattern
This particular pattern provides a method for limiting the number of instances of an object to just one.http://www.talkphp.com/advanced-php-programming/1304-how-use-singleton-design-pattern.html
Total Hits: 2766
Total Votes: 37 votes
Category: PHP/Object Oriented
Submitted on: 2008-03-16 07:49:52
Submitted By: Devesh Khanna
Description:
The Singleton Pattern is one of the GoF (Gang of Four) Patterns. This particular pattern provides a method for limiting the number of instances of an object to just one. It's an easy pattern to grasp once you get past the strange syntax used. More detail...Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.22% |
6 |
![]() ![]() |
![]() ![]() 16.22% |
6 |
![]() ![]() ![]() |
![]() ![]() 16.22% |
6 |
![]() ![]() ![]() ![]() |
![]() ![]() 16.22% |
6 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 18.92% |
7 |





16.22%

16.22%

16.22%

16.22%

18.92%