Login or e-mail Password   

Php patterns: Singleton

The Singleton is one of the simplest Patterns to understand. It's common usage is to ensure that only one instance of a class is ever instantiated. The reason for wanting...
Views: 620 Created: 07/30/2006
The Singleton is one of the simplest Patterns to understand. It's common usage is to ensure that only one instance of a class is ever instantiated. The reason for wanting such behaviour varies but typically it is because only one object instantiated from the source class is required and you want the resulting object to be available throughout an application, i.e. globally available.

Similar articles




No messages


Add your opinion
You must be logged in to write a comment. If you're not a registered member, please register. It takes only few seconds, and you get an access to additional functions .
 
Author
Article
Additional information
Groups Sites linking to aritcle



About EIOBA
Articles
Explore
Publish
Community
Statistics
Users online: 509
Registered: 15.633
Comments: 290
Articles: 66.134
EIOBA World

© 2005 EIOBA group.