September 2020
Intermediate to advanced
653 pages
10h 37m
English
This chapter covers the Mediator pattern.
Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you vary their interaction independently.
A mediator is an intermediary through whom a group of objects communicates, but they cannot refer to each other directly. The mediator takes responsibility for controlling and coordinating the interactions among them. As a result, you can reduce the direct number of interconnections among different objects. ...
Read now
Unlock full access