---
id: hex
requestedLanguage: en
descriptionLanguage: en
---

# Hexagonal Architecture / Ports and Adapters

- Type: architectural pattern
- Group: Design
- Placement: Design / Model and boundaries
- [Source](<https://alistair.cockburn.us/hexagonal-architecture>)

[HTML](https://dpm.cnonim.name/practices/hex/)

Separates application logic from external technologies through ports and adapters.

## Relationships

- may be verified through: [Architecture Fitness Functions](/practices/fitness/en.md) (verification)
- can be combined with: [Functional Core, Imperative Shell](/practices/core/en.md) (combination)
- helps identify interfaces for: [API-first design](/practices/api/en.md) (support)

[Show on the map](https://dpm.cnonim.name/#practice=hex&lang=en)
