Domain-centric? Why Hexagonal and Onion Architecture Are Answers to the Wrong Question
To separate technical from domain code, architectural approaches like Hexagonal or Onion Architecture are currently all the rage. However, discussions about their semantic details and their mapping to the source code structure of software projects are at least equally ubiquitous.
How much abstraction and mapping between architectural concepts is needed? Is persistence metadata in the domain model heresy? Above all: what is the actual goal of the exercise, and: does it have to be so complicated?
We address these and other questions in a theoretical overview and by looking at concrete examples. We discuss the trade-offs of different approaches and how various tools and libraries help us to maintain the intended structural integrity.
Versions
– Software Architecture Gathering 2026 (current) – https://static.odrotbohm.de/slides/2026/11/domain-centric-sag.pdf
– CodeCrafts 2026 – https://static.odrotbohm.de/slides/2026/05/domain-centric-code-crafts.pdf
– JUG Switzerland / Voxxed Days Ticino 2026 – https://static.odrotbohm.de/slides/2026/02/domain-centric-jugch-vdt.pdf
– Devoxx Belgium 2025 – https://static.odrotbohm.de/slides/2025/10/domain-centric-devoxx-be.pdf
License: CC BY-NC 4.0 – https://creativecommons.org/licenses/by-nc/4.0/
Oliver Drotbohm
Annual Pro sale · Save $30
Have presentations of your own?
Share with private links, password protection, and more control over your work.