Coding Guru

Code never does the mistake, we make the mistakes in the code. Think, Imagine, Phrase and then Code.

The Factory Pattern

It defines an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses. [More]

The Facade Pattern

Provides a unified interface over a set of interfaces in the subsystem. Facade means a higher-level interface which makes the subsystem easy and efficient to use. [More]

The Singleton Pattern

Ensure a class has only one instance and provide a global point of access to it. The Singleton Pattern limits the number of instances of a particular object to just one. This single instance is called the singleton. [More]

JavaScript Design Patterns : Introduction

A design pattern is a reusable solution component that is applied to commonly occurring problems or tasks in software applications and when we talk about javascript design patterns these are used on web applications. Another way of looking at patterns are as common templates for how you carry a task or solve a problem. [More]

Dependency Injection

Dependency injection is a software design pattern that implements inversion of control and allows a program design to follow the dependency inversion principle.Dependency Injection is to remove the dependencies of an application. [More]