Hexagonal architecture, also known as the Ports-and-Adapters architecture, is a design pattern aimed at separating business logic from infrastructure. This allows for better testability, flexibility, and maintainability of software applications by using various interfaces (ports) and implementations (adapters) to enable interaction with external systems.
Use this profile to understand the building block briefly, place it in the model, and switch to the 360° assessment when needed.
Theoretical construct: explains a term, principle, or mental model.
What organizes, connects, or makes decisions possible.
Hexagonal architecture places domain logic in a core and connects external systems through explicit ports and replaceable adapters.
Alistair Cockburn described the approach as Hexagonal Architecture or Ports and Adapters to decouple domain logic from user interfaces and technical resources. It follows the line of abstraction, information hiding, and testable domain logic.
Picture a core with several doors: ports define what the core offers or expects; adapters translate each outside world. The domain logic knows the doors, not the building behind them.
A defined interface at the boundary of the core.
An implementation that connects an outside system to a port.
The area containing application-relevant rules and logic.
Hexagonal architecture makes testing and replacing databases, UIs, or integrations easier. It needs meaningful boundaries; artificial ports and adapters add complexity without useful decoupling.
Where this building block is located in the topic model.
No structure path available.
Explore how this building block connects to concepts, methods, technologies, and tools.
These sources establish the term and its professional meaning.
All direct connections of the current building block in a compact text view.
This classification shows where the building block typically matters, how demanding it is, and what kind of impact it has in the model.
The level within the organization (enterprise, domain, team) at which the AssetBlock is applied.