Behavioral design patterns are design patterns that deal with communication between objects. These design patterns allow your objects to communicate in a way that avoids the common issues that developers face related to object behavior. There are many patterns in this category:
- The chain-of-responsibility pattern
- The command pattern
- The interpreter pattern
- The iterator pattern
- The mediator pattern
- The memento pattern
- The observer pattern
- The state pattern
- The strategy pattern
- The template-method pattern
- The visitor pattern
In this book, however, we are only going to talk about the following behavioral design patterns:
- The command pattern
- The observer pattern
- The strategy pattern
If you want to find out more, refer to the Design Patterns: Elements of Reusable Object-Oriented Software book by the Gang of Four that we mentioned earlier.
...