Hexagonal architecture (or "ports and adapters") isolates an application's business logic from external technical details (database, UI, third-party APIs), connected through well-defined interfaces.
It makes it easier to swap out a technology (for example changing databases) without touching business logic, and makes the code much easier to test.
Thanks to a hexagonal architecture, a team switches payment providers by changing a single adapter, without touching the application's core business logic.
Assess your organization's maturity on this topic
Start the diagnostic