Clean & Hexagonal Architecture - it really works!
summary
Rebuilt an open source Labella sticker app in Kotlin + Spring Boot, applying Clean and Hexagonal Architecture with Event Storming to cut cognitive load and speed iteration; SVG templates become code, previews render to images, and the SVG renderer is replaceable so a single line swap moves from magic→inkscape and fixes missing features. Added a caching decorator, a QR-code decorator, and modular ports/adapters to allow selective mocks for tests, reduced wasted tries from roughly 30 wasted stickers, and shows the techniques work in practice.
AI-written summary · about
chapters (10)
- 0:00Introduction and motivation
- 7:32Clean Architecture overview
- 10:15SOLID principles in practice
- 16:14Clean Architecture benefits
- 17:43Hexagonal Architecture explained
- 20:13Layered architecture structure
- 24:26Testing and mockability
- 26:12Hexagonal vs clean architecture
- 28:27Summary and best practices
- 30:35Q&A session
related talks
46mClean & Hexagonal Architecture - it really works!
48mHexagonal Architecture in Practice, the Live Coding That Will Make Your Apps Plain... (live)
47mHexagonal Architecture in Practice, Live Coding That Will Make Your Applications More Sustainable
46mHexagonal Architecture in Practice That Will Make Your Applications More Sustainable
50mClean Architecture with Spring
50mHexagonal Architecture in Practice, Live Coding That Will Make Your Applications More Sustainable
47mLet's build components, not layers
48mLet's adopt the `clean archigonal`
