Hexagonal architecture Demystified� What you need to know !
MILIARI Adnane
Layered architecture
3 Tier architecture
3 Tier architecture
3 Tier architecture
Hexagonal architecture
Hexagonal architecture : Nature is a source of Inspiration
Hexagonal architecture
Hexagonal architecture & DDD
Domain Driven Hexagon
—Alistair CockBurn�Ports & Adapters Pattern
“ Allow an application to equally be driven by users, programs, and automated tests … and to be developed and tested in isolation from its eventual run-time devices and databases ”
Hexagonal architecture : Ports & Adapters
Hexagonal architecture : Port
Hexagonal architecture : Port
Hexagonal architecture : Adapter
Hexagonal architecture
Hexagonal architecture : Driving / Driven Side
Hexagonal architecture : APIs / SPIs
APIs / SPIs TPT example
Hexagonal architecture
Hexagonal Architecture Rules
No framework or library in the domain
1-
Call the domain, Not the inverse
2-
Pros And Cons
Pros : Testability
Pros : Maintainability
Pros : Maintainability
Cons : Complexity
Cons : Complexity
Cons : Performance
Cons : Performance
Show me Code
Thank You !
@miliariadnane
@miliariadnane
www.miliari.me
Contact me
GitHub �Repo