Lesson
Vocabulary: Facade
Vocabulary after construction: Facade
The previous exercise began with Expected Behavior and design pressure, not with this name.
The structure that emerged is traditionally called Facade.
What the reasoning established
- Stable role: One application entrance exposes the complete place-order use case.
- Change pressure: Subsystem internals can change behind the entrance.
- Ownership/lifetime when relevant: The workflow is assembled externally and supplied to the facade.
- Structural consequence: The facade contains the workflow boundary.
- Runtime topology: place forwards order and actor exactly once.
Nearby distinction
Adapter: Facade simplifies a subsystem entrance; Adapter translates an incompatible interface.
Simplify
Ask whether any abstraction can be removed while preserving the original acceptance behavior and design-stress property. If yes, prefer the simpler design.
Use the pattern name to communicate a structure you can already justify. Do not use the name as a recipe that replaces requirements analysis.
Sign in with an enabled provider to save your lesson progress.
Sign in to track progress
Loading sign-in options…