GoF Core Design Patterns :- Creational Design Patterns

This post can be used as a quick refresher of the GoF Creational Design Patterns. I have just given the intents of each of the creational patterns. This will be of use to experienced professionals.

Abstract Factory
INTENT: Provide an interface for creating families of related or dependent objects without specifying their concrete classes.

INTENT: Separate the construction of a complex object from its representation so that the same construction process can create different representations.

Factory Method
INTENT: Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.

INTENT: Specify the kinds of objects to create using a prototypical instance and create new objects by copying this prototype.

INTENT: Ensure a class has only one instance and provide a global point of access to it

Find Singapore Apartment  and Room Rentals here

Looking for a date or love? Click here to find one for free!!

Stock Market Views, Experiences on http://theindiastockmarket.blogspot.com/

This entry was posted in Technology and tagged , , . Bookmark the permalink.

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 )

Connecting to %s