Hexagonal Architecture
In plain terms
An architecture isolating core logic behind ports and adapters.
Going deeper
Hexagonal (ports-and-adapters) architecture surrounds business logic with interchangeable adapters for UI, databases, and external systems, keeping the core independent. It decouples logic from infrastructure.
Under the hood
The domain depends only on abstract ports; adapters plug in implementations, easing testing and swapping tech.
Examples
Decoupled domains, testable core logic, swappable databases/UIs, clean design.
Think of it like...
Like an appliance with standard sockets, you can plug in any compatible cord without rewiring it.