The Design Pattern is not a framework and is not directly deployed via code.
Design Pattern have two main usages:
Design pattern are based on the base principles of object orientated design.Design Pattern have two main usages:
- Common language for developers: they provide developer a common langauage for certain problems. for example if a developer tells another developer that he is using a singleton, the another developer (Should) know exactly what is singleton.
- Capture best practices: Design patterns capture solutions which have been applied to certain problems. By learning these patterns and the problem they are trying to solve a un experienced developer can learn a lot about software design.
- Program to an interface not an implementation
- Favor object composition over inheritance
- Creational Patterns
- Structural Patterns
- Behavioral Patterns
Creational Patterns:
- Factory Pattern
- Abstract Factory Pattern
- Singleton Pattern
- Builder Pattern
- Prototype Pattern
- Adapter Pattern
- Bridge pattern
- Composite Pattern
- Decorator Pattern
- Facade Pattern
- Flyweight Pattern
- Proxy Pattern
- Chain of responsibility Pattern
- Command Pattern
- Interpreter Pattern
- Iterator Pattern
- Mediator Pattern
- Momento Pattern
- Observer Pattern
- State Pattern
- Template Pattern
- Visitor Pattern
No comments:
Post a Comment