Hexagonal architecture is an architectural pattern in software engineering where certain boundaries/interfaces are defined as edges of a hexagon. The pattern is also known as the ports and adapters pattern, which is more descriptive to the actual implementation.

Photo by on

Hexagonal architecture is an implementation of a subset of the SOLID principles, especially the D of “Dependency inversion”, but also the L of “Liskov substitution”.

Together with Domain Driven Design (DDD), hexagonal architecture (and SOLID principles) fit very well microservice architectures. With DDD you define the service boundaries, and with hexagonal architecture you implement interfaces of the domain. …

Douwe van der Meij

Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store