Monday, July 12, 2004

 

Practical Usage Of Design Pattern

Command - Undo/Redo, Shopping cart
Builder - Collecting user input as wizard
Composite - Graphics Tools
Singleton - Database connection, Socket
Visitor - Extends the functionality of the objects
State - Change the objects behavior based on the object's state.
Factory - Creating objects based on the condition
 

This page is powered by Blogger. Isn't yours?