Previous | Home | Next |
The behavioral pattern is a special pattern which is concern with interaction between the objects. the object is interact with each other as like they can talk with each other and still are loosely coupled. The loose coupling is the n-tier architecture key. In this avoid the hard coding and dependencies in order to implementation and loose coupling.
- Chain of Responsibility Pattern
- Command Pattern
- Interpreter Pattern
- Iterator Pattern
- Mediator Pattern
- Momento Pattern
- Observer Pattern
- State Pattern
- Strategy Pattern
- Template Pattern
- Visitor Pattern
The chain pattern is more responsible pattern it is used to handle the more than one object request but they do not know about each other. in this pattern the object is in a form of chain when we pass the request to chain object until this is handle.
Benefit and Usage
- In this pattern One request should be handled by more than one object.
- The client Do not know about object that which object will be handle a request, probably It will be handle by more than one object automatically.
- This is used to Reduce coupling.
- It is more Flexible in handling a request.
Previous | Home | Next |