
Hexagonal Architecture
Course Index
28 Lessons · 3 Sections
Master Hexagonal Architecture (Ports & Adapters) — the pattern that makes applications framework-agnostic, testable & maintainable. Covers domain isolation, ports, adapters, dependency inversion & integration with DDD. Includes 4 production builds: REST API, CLI adapter, DDD hexagonal service & full clean architecture app.
28Lessons
3Sections
4Projects
FreeAccess
Section 1Hexagonal Architecture FundamentalsLessons 1–10
Lesson 1
What is Hexagonal Architecture (Ports & Adapters)?
Lesson 2
The Problem with Layered Architecture
Lesson 3
Ports: Primary & Secondary
Lesson 4
Adapters: Driving & Driven
Lesson 5
The Domain at the Centre
Lesson 6
Dependency Inversion in Hexagonal Architecture
Lesson 7
Hexagonal vs Clean Architecture vs Onion
Lesson 8
Implementing Hexagonal in Java/Spring
Lesson 9
Implementing Hexagonal in .NET/C#
Lesson 10
Implementing Hexagonal in Python
Section 2Integration, Testing & AdvancedLessons 11–22
Lesson 11
Hexagonal Architecture & DDD
Lesson 12
Hexagonal & Microservices
Lesson 13
Testing in Hexagonal Architecture
Lesson 14
Primary Adapters: REST, CLI & GraphQL
Lesson 15
Secondary Adapters: Databases & Message Brokers
Lesson 16
Dependency Injection in Hexagonal Architecture
Lesson 17
Hexagonal Architecture & AI Integration 2026
Lesson 18
Folder Structure & Project Layout
Lesson 19
Vertical Slice Architecture vs Hexagonal
Lesson 20
Migrating a Layered App to Hexagonal
Lesson 21
Hexagonal Architecture Anti-Patterns
Lesson 22
Hexagonal Architecture in 2026: Adoption
Section 3Case Studies, Trade-offs & ProjectsLessons 23–28
