Aditya Jain

JavaScript Singleton Design Pattern

JavaScript Singleton Design Pattern

JavaScript Singleton pattern ensure that only a single instance of the class may exits in application. Details of singleton design pattern can be found in the an existing post named Java Singleton Design Pattern...

JavaScript Module Design Pattern

JavaScript Module Design Pattern

JavaScript Module pattern provides a way to wrap public, private methods (and variable) into a single entity and exposing only the public members to the world outside of module. This allows faster namespace resolution,...