Design Patterns

List of Articles in Design Patterns

Introduction to the Proto type design pattern

A fully initialized instance to be copied or cloned. The Prototype pattern specifies the kind of objects to create using a prototypical instance.Read more..
By: Chinna Srihari   |    On:  10/22/2010 9:34:43 AM   |    Article

Introduction to the Facade Pattern

Provide a unified interface to a set of interfaces in a subsystem. Façade defines a higher-level interface that makes the subsystem easier to use.Read more..
By: Chinna Srihari   |    On:  10/22/2010 9:50:05 AM   |    Article

Inversion of control and Dependency injection

Design pattern – Inversion of control and Dependency injectionRead more..
By: questpond   |    On:  2/16/2010 12:02:27 AM   |    Article

introduction to the Command Design pattern

The Command pattern creates distance between the client that requests an operation and the object that can perform it.Read more..
By: Chinna Srihari   |    On:  9/20/2010 7:45:20 AM   |    Article

Introduction to the Object Pool Design Pattern

As a developer we might have noticed that creation of some class is very difficult and number of time that we need to create. Such object creation every time is very expensive in terms of system resources. If we can cache that kind of object show how will surely boost the application performance and resource usage can be saved. This where object pool design pattern will help development community to cache the objects. Some time it is also called as Object cache or Resource cache design pattern.Read more..
By: Chinna Srihari   |    On:  10/21/2010 11:47:21 AM   |    Article

Introduction to the Singleton Definition Pattern

This is a quite simple design pattern, let me tell you one thing there are many design patterns that they are implicitly singletons. I rather recommend to understanding this one first before going through other patterns.Read more..
By: Chinna Srihari   |    On:  10/21/2010 11:58:58 AM   |    Article

Introduction to the Adaptor design pattern

Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn’t otherwise because of incompatible interfaces.Read more..
By: Chinna Srihari   |    On:  10/23/2010 3:41:18 AM   |    Article

Introduction to the Iterator design pattern

Sequentially access the elements of a collection.Read more..
By: Chinna Srihari   |    On:  10/23/2010 3:46:09 AM   |    Article

Introduction to the observer design pattern

A way of notifying change to number of depended class.Read more..
By: Chinna Srihari   |    On:  10/23/2010 3:49:09 AM   |    Article

Introduction to the Strategy design pattern

The Strategy pattern involves separating an algorithm from its host class and putting it in a separate class. When there are multiple strategies available for an algorithm, for a given problem it is always better to separate them in to different objects. If the algorithms are all kept in the one class, the class will be become a big messy conditional statements.Read more..
By: Chinna Srihari   |    On:  10/23/2010 3:52:25 AM   |    Article

what are new features in bing.com for developers

what are new features in bing.com for developersRead more..
By: RRaveen   |    On:  2/15/2010 10:59:47 PM   |    Article

Introduction to the Template Pattern

In an operation that has an algorithm, define the skeleton of an algorithm by deferring some steps to client subclasses. Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm’s structure.Read more..
By: Chinna Srihari   |    On:  9/21/2010 1:44:05 AM   |    Article

Refactoring: Magic Numbers

Another type of refactoring patterns is the Magic Number pattern. Magic numbers are numbers with special meaning and value that usually are not obvious, such as PI. They are really nasty when you need to reference the same number many times. If the number might ever change, making the change is a nightmare. Even if you don't make a change, you have the difficulty of figuring out what is going on.Read more..
By: Geming Leader   |    On:  9/2/2010 10:53:41 AM   |    Article
^ Scroll to Top