Stratified design and functional architecture
summary
Shows a concrete claim: combining stratified design with pure functions produces the onion architecture and predictable rules like the spreading rule and “last action on the stack.” Uses JavaScript examples (send email, save user, affiliate payout, newsletter generation), refactorings (extracting calculations, generating emails up‑front, pagination for millions), and architecture names (ports and adapters, hexagonal, functional core/imperative shell). Demonstrates moving DB and side effects to an interaction layer so core logic is testable, reusable and decoupled.
AI-written summary · about
chapters (7)
- 0:00Introduction to concepts
- 1:33The fundamental distinction
- 8:03Managing actions
- 15:00Stratified design
- 24:05Onion architecture
- 27:36Addressing design questions
- 36:36Conclusion and Q&A
related talks
01h 29mArchitecture Beyond Clean & Hexagonal
51mA Contrarian View of Software Architecture
58mFrom Zero to Live with Functional JavaScript Applications (Part 2)
42mFlutter Engineering, Architectural path
43mEvolution of Functional UI Paradigms
45mFrom Zero to Live with Functional JavaScript Applications (Part 1)
50mShrek, Onions and Architecture
30mThe Art of Front-end Architecture
