-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
TypeScript 5 Design Patterns and Best Practices - Second Edition
By :
Behavioral patterns address the challenge of assigning responsibilities to objects in a way that promotes decoupling and cohesion. These patterns aim to strike an optimal balance between these two important concepts, enabling client interfaces to interact with objects without needing to understand their internal relationships.
We have split all the behavioral patterns into two logical chapters for easier study.
In this chapter, we focus on patterns that facilitate communication and interaction between objects. In the following chapter, we will focus on the behavioral patterns that manage object state and behavior.
The patterns we provide the details of in this chapter aim to decouple the sender of a request from its receiver. By introducing intermediary objects or abstracting specific behaviors, these patterns ensure that objects can collaborate without needing detailed knowledge of each other’s internal workings.
...