December 2016
Beginner to intermediate
238 pages
6h 10m
English
© Kelt Dockins 2017
Kelt Dockins, Design Patterns in PHP and Laravel, 10.1007/978-1-4842-2451-9_20
Kelt Dockins1
(1)Dolph, Arkansas, USA
$> git checkout mediator$> composer update
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.1
Everyone needs help sometimes. Sometimes you have enough on your plate. The mediator is that guy in the middle who works with you. A few examples of real-world mediators are lawyers, secretaries, and real estate agents. The real estate agent works with the buyer and seller to accomplish the task of changing ownership of a home. ...
Read now
Unlock full access