GoF Core Design Patterns :- Creational Design Patterns
Posted by yourmitra on April 30, 2008
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.
Builder
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.
Prototype
INTENT: Specify the kinds of objects to create using a prototypical instance and create new objects by copying this prototype.
Singleton
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/