Architecture
Onion Architecture
The domain model at the centre, infrastructure on the outer rings and depending inward.
Article
Onion architecture: the domain model in the middle, infrastructure outside
Jeffrey Palermo's Onion Architecture: four tenets, the layers of the core (model, domain services, application services), the difference between a domain service and an application service, and code in C#, TypeScript, Java, Go and Python built around ordering flour.
Related articles
- Pierogi in the Hexagon
Hexagonal architecture in .NET explained over a beer — so that even your aunt gets it at a family party
- Clean Architecture: the dependency rule and use cases at the centre
Robert C. Martin's Clean Architecture without the myths: four circles, the dependency rule, input and output ports, the presenter. Structure and a use case in C#, TypeScript, Java, Go and Python,…
Around the topic
- The Onion Architecture : part 1 article · web · Jeffrey Palermo
- Domain-centric? Why Hexagonal and Onion Architecture Are Answers to the Wrong Question presentation · web · Oliver Drotbohm
- iammukeshm/OnionArchitecture repo · github · iammukeshm
- DDD, Hexagonal, Onion, Clean, CQRS, … How I put it all together article · web · Herberto Graça
- xmolecules/jmolecules repo · github · xmolecules
- iktakahiro/dddpy repo · github · iktakahiro
- alex289/CleanArchitecture repo · github · alex289
- Vertical Slice Architecture article · web · Jimmy Bogard