OO Design Patterns

Creational Design Patterns:

Singleton – Ensure that only one instance of a class is created and Provide a global access point to the object.

Factory(Simplified version of Factory Method) – Creates objects without exposing the instantiation logic to the client and Refers to the newly created object through a common interface.

Factory Method – Defines an interface for creating objects, but let subclasses to decide which class to instantiate and Refers to the newly created object through a common interface.

Abstract Factory – Offers the interface for creating a family of related objects, without explicitly specifying their classes.

Builder – Defines an instance for creating an object but letting subclasses decide which class to instantiate and Allows a finer control over the construction process.


Prototype
– Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.

Object Pool – reuses and shares objects that are expensive to create..

Advertisements

About ashokabhat

I am a C,C ,JAVA,Adobe Flex,.NET Programmer Currently working as a Software Developer
This entry was posted in Uncategorized. Bookmark the permalink.

3 Responses to OO Design Patterns

  1. Pingback: GRASP software patterns | cartesian product

  2. Pingback: Creational patterns | cartesian product

  3. Pingback: Behavioural software patterns | cartesian product

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s