mirror of
https://github.com/iandinwoodie/cpp-design-patterns-for-humans.git
synced 2025-12-17 04:24:40 +03:00
Added outline for behavioral design patterns.
This commit is contained in:
65
README.md
65
README.md
@@ -151,4 +151,69 @@ TODO
|
|||||||
|
|
||||||
## Behavioral Design Patterns
|
## Behavioral Design Patterns
|
||||||
|
|
||||||
|
In plain words:
|
||||||
|
|
||||||
|
> It is concerned with assignment of responsibilities between the objects. What
|
||||||
|
makes them different from structural patterns is they don't just specify the
|
||||||
|
structure but also outline the patterns for message passing/communication
|
||||||
|
between them. Or in other words, they assist in answering "How to run a behavior
|
||||||
|
in software component?"
|
||||||
|
|
||||||
|
Wikipedia says:
|
||||||
|
|
||||||
|
> In software engineering, behavioral design patterns are design patterns that
|
||||||
|
identify common communication patterns between objects and realize these
|
||||||
|
patterns. By doing so, these patterns increase flexibility in carrying out this
|
||||||
|
communication.
|
||||||
|
|
||||||
|
* [Chain of Responsibility](#-chain-of-responsibility)
|
||||||
|
* [Command](#-command)
|
||||||
|
* [Iterator](#-iterator)
|
||||||
|
* [Mediator](#-mediator)
|
||||||
|
* [Memento](#-memento)
|
||||||
|
* [Observer](#-observer)
|
||||||
|
* [Visitor](#-visitor)
|
||||||
|
* [Strategy](#-strategy)
|
||||||
|
* [State](#-state)
|
||||||
|
* [Template Method](#-template-method)
|
||||||
|
|
||||||
|
### 🔗 Chain of Responsibility
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
|
|
||||||
|
### 👮 Command
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
||||||
|
### ➿ Iterator
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
||||||
|
### 👽 Mediator
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
||||||
|
### 💾 Memento
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
||||||
|
### 😎 Observer
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
||||||
|
### 🏃 Visitor
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
||||||
|
### 💡 Strategy
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
||||||
|
### 💢 State
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
||||||
|
### 📒 Template Method
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user