Topic 3 of 10

Layered Architecture

Separate business rules from infrastructure details. Clean, Hexagonal and Onion share the same idea: dependencies point toward the domain.

What to study

  • Clean Architecture
  • Hexagonal Architecture (Ports & Adapters)
  • Onion Architecture

Visual examples

Concentric circles of Clean Architecture: Entities, Use Cases, Interface Adapters and Frameworks & Drivers
The Clean Architecture: the dependency rule always points inward. Source: Robert C. Martin.

Books1