Part 4. Behavioral Patterns
Behavioral patterns are those patterns that are most specifically concerned with communication between objects. This chapter covers the following patterns:
Chain of Responsibility pattern. allows decoupling between objects by passing a request from one object to the next in a chain until the request is recognized.
Command pattern. utilizes simple objects to represent the execution of software commands and allows you to support logging and undoable operations.
Interpreter pattern. provides a definition of how to include language elements in a program.
Iterator pattern. formalizes the way we move through a list of data within a class.
Mediator pattern. defines how communication between objects can be simplified by using a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access