Mediator Design Pattern
Videos
| Section | Video Links |
|---|---|
| Mediator Overview | ![]() |
| Mediator Use Case | ![]() |
Book
Overview
... Refer to Book, pause Video Lectures or subscribe to Medium Membership to read textual content.
Terminology
... Refer to Book, pause Video Lectures or subscribe to Medium Membership to read textual content.
Mediator UML Diagram
Source Code
... Refer to Book, pause Video Lectures or subscribe to Medium Membership to read textual content.
Output
python ./mediator/mediator_concept.py COLLEAGUE1 <--> Here is the Colleague2 specific data you asked for COLLEAGUE2 <--> Here is the Colleague1 specific data you asked for
Example Use Case
... Refer to Book, pause Video Lectures or subscribe to Medium Membership to read textual content.
Example UML Diagram
Output
python ./mediator/client.py Component1: >>> Out >>> : data A Component2: <<< In <<< : data A Component3: <<< In <<< : data A Component2: >>> Out >>> : data B Component3: <<< In <<< : data B Component1: <<< In <<< : data B Component3: >>> Out >>> : data C Component2: <<< In <<< : data C Component1: <<< In <<< : data C
Summary
... Refer to Book, pause Video Lectures or subscribe to Medium Membership to read textual content.



