Hexagonal App

An hexagon is too tough for me to draw so I use circles for the hexagonal architecture. A disk and a circle around. The disk is for the domain and the space between the disk and the circle is where the adapters are.

To picture a message travelling through the architecture, I use a line.

message travel

Maybe the message starts from a frontend component, then the domain, then an outbound http adapter, eventually an inbound http endpoint, the domain, and finally maybe hits a database.

Guess what my favorite stack is to share some domain code in the frontend and in the backend 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.