Vortrag
Strategic Design in the Frontend: Moduliths & Micro Frontends
Folien zum Vortrag (60)
Slides, Code & Links
Folientext (alle Folien)
- Strategic Design in the Frontend: Moduliths & Micro Frontends ANGULARarchitects.io
- "… and then someone will also create a guest area"
- Frontends became quite powerful … and complex! Modern SPAs are far more than receivers of DTOs
- –
- 1) How to Structure our Frontends? (+ how Strategic Design can help) 2) Implementation with Frontend Moduliths and Micro Frontends 3) Demos and Live Coding 4) Labs Agenda
- About Me (Remote) Angular Workshops and Consulting Google Developer Expert for Angular Blog, Books, Articles, and Talks about Angular Manfred Steyer, ANGULARarchitects.io
- How to Structure our Frontends? + how Strategic Design can help …
- Good Fences Makes Good Neighbors!
- Vertical Architectures < Minimal Dependencies Vertical 1 Vertical 2 Vertical 3 Feature Feature Feature Feature Feature Feature Feature Feature Feature Conway's law
- How to Find Good Verticals?
- Let's Try With Semantics … Book Flight Check-in Passenger Check-in Luggage Board Plane Pickup Luggage
- Collaborative Modelling can Help
- Booking Boarding Flight Price Seats Passenger Tickets Flight Ticket Different Models: Clear Semantics → Less Deps
- Mindset & Techniques, Frontend devs can learn from Strategic Design
- Are These Slices the Same as in the Backend?
- Sometimes yes, …
- …, sometimes no.
- Consider the Frontend Perspective Early
- Are These Slices "Real" Bounded Contexts?
- If there is translation, the frontend can have a very simple ("cheap bargain") Bounded Context
- "A bounded context owns the vertical slice of functionality [including the] presentation layer"
- "[…] DDD folks […] can make the final mistake of exposing this complexity to the customer."
- Better Question: What can we Learn for the Frontend?
- ✓ Different Models ✓ Look out for Semantics ✓ Look out for Pivotal Events ✓ Look at Processes ✓ Team up with Experts → Domain Knowlege ✓ Use Collaborative Modeling Takeaways
- Translation into Frontend Code
- Booking Boarding Shared Feature Feature Feature Feature Feature UI UI UI UI UI UI UI UI UI Data Data Data Data Data Data Util Util Util Util Util Util Enterprise Monorepo Patterns, Nrwl 2018: https://tinyurl.com/y2jjxld7 Smart Comp. Dumb Comp.
- Booking Boarding Shared Feature Feature Feature Feature Feature UI UI UI UI UI UI UI UI UI Data Data Data Data Data Data Util Util Util Util Util Util Enterprise Monorepo Patterns, Nrwl 2018: https://tinyurl.com/y2jjxld7 Smart Comp. Dumb Comp.
- Booking Boarding Shared Feature Feature Feature UI UI UI Data Data Util Util Enterprise Monorepo Patterns, Nrwl 2018: https://tinyurl.com/y2jjxld7 Feature Feature Feature Feature Feature Feature Feature UI Data Util UI Data Util
- Moduliths with Nx
- –
- • Organize Repos and Project(s) Around Libraries • Module Boundaries • Build Cache • Dependency Graph Selected Features
- Moduliths with Sheriff
- @softarc/eslint-plugin-sheriff Modularization Boundaries on a per-folder basis
- DEMO
- Micro Frontends
- Micro Frontends Booking App Check-in App Boarding App Luggage App
- Micro Frontends Help to Scale Projects to several teams!
- Integration via Hyperlinks
- UI Composition with Hyperlinks µApp SPA µApp SPA µApp SPA
- –
- –
- Integration via Shell
- SPA-based Shell µService µFrontend µFrontend µFrontend Shell
- Module Federation
- Module Federation Shell (Host) Micro Frontend (Remote) // Maps Urls in // webpack config remotes: { mfe1: "http://..." } import('mfe1/Cmp') // Expose files in // webpack config exposes: { './Cmp': './my.cmp.ts' }
- Sharing Libs Shell (Host) Micro Frontend (Remote) shared: [ "@angular/core", "…" ] shared: [ "@angular/core", "…" ]
- Alternatives Getting Popular TURBOPACK
- –
- DEMO
- Multi-Framework/ Multi-Version Solutions
- Not perfect :) Abstract them, e.g. via Web Components Different Versions or Frameworks? Angular App (MFE) React App (MFE) Coarse-grained Web Component
- Result: Best of Both Worlds
- DEMO https://red-ocean-0fe4c4610.azurestaticapps.net
- More Details Workarounds for Zone.js and the Router Link
- Free eBook (6th Edition) ANGULARarchitects.io/book Module Federation & Nx
- Costs of Micro Frontends
- Micro Frontend Platform Team Stream-aligned team 1 Stream-aligned team 2 Stream-aligned team … XaaS Flow of change
- ✓ Domain thinking: also valueable in the frontend ✓ Different models, semantics, pivotal events ✓ Collaborative modelling together with domain experts ✓ Frontend Moduliths vs. Micro Frontends Conclusion
- –
- [Social Media] Manfred Steyer [web] ANGULARarchitects.io Manfred Steyer @ Manfred Steyer Slides & Examples Remote Company Workshops and Consulting http://angulararchitects.io

Gratis-eBook
Micro Frontends & Moduliths with Angular
Learn how to build enterprise-scale Angular applications which are maintainable in the long run. Free eBook by Manfred Steyer, GDE.
Zum Gratis-eBook: Micro Frontends & Moduliths with Angular (öffnet in neuem Fenster)
Weitere Vorträge
- 28.05.2026 · ngBaguette 2026 Signal Forms: Beyond the Basics Manfred Steyer Vortrag auf Englisch
- 15.06.2026 · enterJS 2026 Signal Forms: Details & Live Coding Manfred Steyer Vortrag auf Englisch
- 11.05.2026 · Angular London Agentic UI Requires Standards: How AG-UI, A2UI, and MCP Apps Work Together Manfred Steyer Vortrag auf Englisch
- 30.06.2026 · DWX 2026 Nostalgia Meets Technology: Super Mario with TypeScript Manfred Steyer Vortrag auf Englisch
- 07.05.2026 · ngBelgrade 2026 Signal Forms: Beyond the Basics Manfred Steyer Vortrag auf Englisch





















![Folie 22 von 60: "[…] DDD folks […] can make the](/uploads/slides/strategic-design-in-the-frontend-moduliths-micro-frontends/3f81a973/22.webp)





































![Folie 60 von 60: [Social Media] Manfred Steyer](/uploads/slides/strategic-design-in-the-frontend-moduliths-micro-frontends/3f81a973/60.webp)