docs: add hexagonal architecture diagram

This commit is contained in:
Ilkka Seppälä
2025-03-01 14:31:44 +02:00
parent 546c7ecf53
commit eee75757fb
2 changed files with 5 additions and 0 deletions
+5
View File
@@ -31,6 +31,11 @@ Wikipedia says
> The hexagonal architecture, or ports and adapters architecture, is an architectural pattern used in software design. It aims at creating loosely coupled application components that can be easily connected to their software environment by means of ports and adapters. This makes components exchangeable at any level and facilitates test automation.
Architecture diagram
![Hexagonal Architecture Diagram](./etc/hexagonal-architecture-diagram.png)
## Programmatic Example of Hexagonal Architecture Pattern in Java
The Hexagonal Architecture, also known as Ports and Adapters, is a design pattern that aims to create a loosely coupled application where the core business logic is isolated from external interfaces like databases, user interfaces, or third-party services. This allows the core application to be independent and easily testable.
Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB