Join Jungwoo Ryoo for an in-depth discussion in this video Facade, part of Python: Advanced Design Patterns.
- [Instructor] How many of you know…all the inner workings of a car when you drive one?…You start a car by interacting directly…and individually with your starter motor,…fuel pump, ignition, battery,…and, finally, your engine.…As we all know very well, there is no need to do this…and all that's required is a push of a button…or turn of your car key.…The more you hide the unnecessary details, the better.…
The same principle applies to the concept of Facade.…The pattern hides the nonessential details…of the individual interfaces of subsystems…that comprise a complex system such as a compiler.…Facade is a structural pattern…and consists of a Facade class and…a set of subsystems it represents…through its own simple and unified interface.…This way, the users of the Facade interface…don't have to know all the details…of the subsystem interfaces to use their functionality.…
The before and after diagram shown here…demonstrates the difference Facade makes intuitively.…In addition to the obvious and immediate benefit…of reducing complexity,…
- 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.