Pattern are for Flexible, Maintainable and extendable, i.e Add new features, replace feature and remove feature should not be complex.
Creational: Object Instantiation
Structural : Class relationship and Hierarchical
Behavioral: Objects intercommunication
Creational:
Factory Method:
Provides an interface to create an object but defers the creation to the sub class.
- Creates an object base don run time parameter
- Do not need to know which objects you will needed to create.
-
Creational: Object Instantiation
Structural : Class relationship and Hierarchical
Behavioral: Objects intercommunication
Creational:
Factory Method:
Provides an interface to create an object but defers the creation to the sub class.
- Creates an object base don run time parameter
- Do not need to know which objects you will needed to create.
-
No comments:
Post a Comment