Ports and Adapters Architecture

Kind: style

Layer: Structural Core

Aliases: Hexagonal Architecture, Ports and Adapters

Record: architecture:ports-and-adapters-architecture

Severity: recommended

Scope: application, service, component

Canonical: Ontology

A convention of keeping a domain core free of framework and data types, with every external dependency behind a port the application owns and implemented by an adapter outside it.

Listed in Architecture principles, after Session Management and before Clean Architecture.

Requires

Reinforces

Enables

Conflicts with

In tension with

Tensions

Violated by

Refactored by

Severity

Category

Linked from