Onion and Hexagonal Architecture in Practice
摘要
Chapter 1 introduced the hexagonal architecture. You also saw a few examples in Chapter 1 and 3 that explained how the concepts of abstract ports are realized by lightweight containers like Spring and Spring Boot to provide on-demand adapters at runtime. This chapter expands on those concepts by introducing the Onion architecture, with more precise and concrete examples.