Posts Tagged ‘Singleton Pattern’

Singleton Pattern: When and How to use it effectively

With this post I will show you what it Singleton Pattern and how to use it  effectively.
First, consider definition for Singleton Patten:
The Singleton Pattern ensures a class has only one instance, and provides a global point of access to it.
From this definition we can see the purpose of using this pattern:

It ensures we have at …

Continue Reading...