Free Design Patterns Reference card for you!
- By Dharmesh Sheta on August 20, 2009
Design Patterns are always wonderful for one who can perceived them as an tool to create generic solution to commonly occurring problems, let it be then software architecture, development issue or just coding work around.
With plethora of resources and material available online about software design patterns, it’s always a GoF Patterns book serves as bible. However it is not prudent every time that you skimmed the book and try to apply those pattern. Reference Card is great thing to do as handy tool. Available refCard describes all major GoF pattern vividly and may provides you design idea more quickly. Have fun with design ideas….
Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.
Attach additional responsibilities to an object dynamically. Provide a flexible alternative to sub-classing for extending functionality.
Define an interface for creating an object, but let subclasses decide which class to instantiate. Lets a class defer instantiation to subclasses.
Decouple an abstraction from its implementation so that the two can vary independently.
Chain of Responsibility
Avoid coupling the sender of a request to its receiver by giving more than one object a chance t handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.
Get our Articles via Email. Enter your email address.