Hexagonal Architecture
An architectural style that isolates application/domain logic behind ports and connects infrastructure through adapters.
Technical Context
The key boundary is dependency direction, not folder naming or drawing a hexagon. Database, HTTP, messaging, and test doubles should depend on application-facing contracts so business rules remain testable without infrastructure.
Related Concepts
- Ports and Adapters
- Dependency Inversion
- domain model
- adapter