Behavioral Design Patterns: Chain of Responsibility

Intention

The Chain of Responsibility pattern is defined as follows in the Gang of Four book:

Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.

Structure

Explain how it works using UML diagram.

Example

Explain the section of the GitHub repository.

Comments

Popular posts from this blog

Using Bogus to create Hierarchical Data Structures

Adventures in Getting a Site Hosted

Design Patterns: An Introduction