Join Jungwoo Ryoo for an in-depth discussion in this video Mediator, part of Python: Advanced Design Patterns.
- Imagine a busy airport where airplanes are waiting…and moving on various runways.…Pilots can talk to each other and try…to figure out how to avoid collisions on their own,…but this will be an impossible task due to the complexity…of the problem, as well as their inability…to see the big picture.…This is why we need a mediator such as…an air traffic controller to centrally…and effectively manage the communication…among individual pilots.…
A similar scenario can occur in programming.…When there are too many objects interacting…with each other, individually, the complexity…of the code can increase dramatically,…and its maintainability also decreases.…In particular, a simple change…in one object can have a huge ripple effect…on the rest of the code.…We call this phenomenon tight coupling among objects.…A logical solution to this problem is creating…and designating an object as a mediator for other objects.…
The mediator pattern is the design pattern…community's answer to implementing this solution.…As its name suggests, a mediator is a behavioral pattern.…
- Architectural vs. design patterns
- Why use design patterns?
- Design best practices
- Domain-specific patterns and security patterns
- Gang of Four design patterns
- Command, Mediator, and State
- Template method
Skill Level Advanced
Learning Python and Django (2015)with Caleb Smith1h 11m Intermediate
Programming Foundations: Design Patternswith Elisabeth Robson2h 19m Intermediate
1. Understanding Design Patterns: Review
2. Design Best Practices
3. Gang of Four (GoF) Patterns, Part 1
4. Gang of Four (GoF) Patterns, Part 2
Next steps1m 26s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.