Home
Gallery
GuestBook
SourceCode
Contact

Design Patterns for Dummies. The Singleton Pattern

Posted in Design Patterns
This post has been read 1915 times
Abstract:

In continuation of my posts on Creational design patterns, I will be discussing about the Singleton pattern in this post. You can read about the other patterns from the following links.

  1. Prototype Pattern
  2. Factory Method Pattern

You can read about Structural Patterns from here.

Singleton pattern deals with ensuring that there is only one instance of a class and providing a single global access point to that object. It also ensures that the object is not created until its actually needed.

...


Design Patterns For Dummies. The Factory Method Pattern

Posted in Design Patterns
This post has been read 1981 times
Abstract:

In continuation of my posts on Creational design patterns, I will be discussing about the Factory Method pattern in this post. You can read about the other patterns from the following links.

  1. Prototype Pattern

You can read about Structural Patterns from here.

The Factory Method pattern deals with creation of objects in which the subclasses decide which class's object has to be created. Various subclasses may implement the same interface, but the Factory Method creates the appropriate object based on some supplied information.

...


Design Patterns For Dummies. The Prototype Pattern

Posted in Design Patterns
This post has been read 1693 times
Abstract:

Continuing with the series on Design patterns, I will take up Creational Patterns from today. I have written about Structural Patterns in my previous posts. You can get all the links for them here.

Creational Patterns

Creational patterns deals with separation of a system in terms of how their objects are created, what they are made of and how they must be represented. There are 5 types of creational patterns as observed by the GOF. I will write about the Prototype pattern today.

The Prototype

...


Structural Design Patterns

Posted in C#
This post has been read 2169 times
Abstract:

In the previous few posts I have been writing about design patterns and for now I have completed the structural patterns as described by the GOF. Below are the links to all the structural patterns.

...


Design Patterns for Dummies. The Facade Pattern

Posted in Design Patterns
This post has been read 1603 times
Abstract:

This is the continuing post in a series of post on Design patterns. Presently we are going through the structural patterns. I will be writing about the Façade pattern today. This would be the last structural pattern.

You can read about the other patterns from the following links

...


Design Patterns for Dummies. The Adapter Pattern

Posted in Design Patterns
This post has been read 708 times
Abstract:

This is the continuing post in a series of post on Design patterns. Presently we are going through the structural patterns. I will be writing about the adapter pattern today.

You can read about the other patterns from the following links

...


Design Patterns for Dummies. The Flyweight Pattern

Posted in Design Patterns
This post has been read 1098 times
Abstract:

This is the continuing post in a series of post on Design patterns. Presently we are going through the structural patterns. I will be writing about the flyweight pattern today.

You can read about the other patterns from the following links

...


Design Patterns for Dummies. The Composite Pattern

Posted in Design Patterns
This post has been read 803 times
Abstract:

This is the continuing post in a series of post on Design patterns. Presently we are going through the structural patterns. I will be writing about the composite pattern today.

You can read about the other patterns from the following links

  1. Decorator Pattern
  2. Proxy Pattern
  3. Bridge Pattern

Composite pattern deals with providing a structure such that a single object ( component ) or a group of objects ( composite ) can be treated in the same way. This saves the caller of this composite from knowing the objects individually. Lets see an example.

...




Subscribe

Random Photo

My Tweets


Top Posts

Source Code

The source code to this site is open-source. You can download the code from here.

Categories


Recent Blogs


Archives


Blogroll