Onion Architecture
Learn Onion Architecture (Software Architecture Patterns, Architectural Patterns) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
What is Onion Architecture? Coined by Jeffrey Palermo, Onion Architecture puts the domain model at the absolute center, with concentric rings of increasingly infrastructure-focused code around it - like the layers of an onion. All dependencies point toward the center . • The domain model at the very center has zero dependencies on anything else in the system. • Infrastructure concerns (persistence, UI frameworks) are pushed to the outermost ring, exactly where they belong given how often they change.