Introduction
This lesson explains what behavioral patterns are and goes over the patterns that we'll cover in this chapter.
We'll cover the following
What are behavioral patterns? #
In this chapter, we will discuss behavioral patterns. These patterns ensure effective communication between different objects in a system, assign responsibilities to them, and make sure they all have synchronized information.
These behavioral patterns include:
-
Chain of Responsibility
-
Interpreter
-
Command
-
Iterator
-
Mediator
-
Memento
-
State
-
Template Method*
-
Strategy
-
Visitor
-
Observer
-
Revealing Module
From the patterns mentioned above, we will be covering the following in this chapter: Chain of Responsibility pattern, Command pattern, Iterator pattern, Mediator pattern, Observer pattern, and Visitor pattern.
Let’s start by discussing the chain of responsibility pattern in the next lesson.