Interface Contracts in Microfrontend Architectures
What if you could modernize a legacy monolith without a risky rewrite? Learn a frameworkless approach using native browser tech and formal interface contracts.
#1about 1 minute
Why incremental modernization beats a big bang rewrite
Rewriting a legacy monolith from scratch is risky and expensive, making an incremental approach better for both developers and the business.
#2about 6 minutes
Evolving from layered architecture to vertical slices
Microfrontend architecture extends backend microservice patterns to the frontend, creating autonomous, full-stack teams aligned with business domains.
#3about 4 minutes
Defining microfrontend boundaries using domain-driven design
Use principles from domain-driven design (DDD), like bounded contexts and communication patterns, to determine the right size and scope for each microfrontend.
#4about 8 minutes
Implementing communication with attributes and custom events
Microfrontends communicate indirectly by receiving data through HTML attributes and emitting data via custom events, with the host page acting as a mediator.
#5about 7 minutes
Standardizing interfaces with the open MFE specification
The Open MFE standard provides a formal way to define, document, and test microfrontend interfaces using a manifest file, similar to OpenAPI for REST APIs.
#6about 4 minutes
Applying the strangler fig pattern to legacy apps
Gradually modernize a legacy application by wrapping existing features in microfrontends or introducing new ones, slowly 'strangling' the old monolith.
#7about 1 minute
Avoiding runtime coupling with a shared UI library
To maintain autonomy and avoid runtime dependencies, teams should consume shared assets like CSS and icons from a versioned UI library at build time.
#8about 6 minutes
Architectural trade-offs and testing strategies
A frameworkless approach prioritizes migration over raw performance, and testing should focus more on integration tests than unit tests to validate cross-component flows.
#9about 7 minutes
Securing and monitoring microfrontend communications
Secure interface contracts like any other web API, and monitor component interactions by emitting analytics events to be handled by the host page to preserve encapsulation.
#10about 9 minutes
Managing shared dependencies and component nesting
Avoid runtime nesting of microfrontends and instead share common logic through versioned libraries consumed at build time, accepting code duplication as a trade-off for autonomy.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
13:10 MIN
Audience Q&A on practical micro-frontend challenges
Micro-frontends anti-patterns
06:11 MIN
Tracing the architectural evolution to microfrontends
Microfrontends with Blazor: Welcome to the Party!
03:01 MIN
Integrating applications using a micro-frontend architecture
Building the Right Product and Building It Right: A Glimpse into Extreme Programming, Atomic Design
02:27 MIN
Understanding the core challenge of micro frontend integration
Native Federation: The Future of Micro Frontends and Plugin-Systems in Angular
01:25 MIN
Understanding the micro frontend architectural style
Micro Frontends with Module Federation: Why and How?
02:03 MIN
Introducing the micro-frontend architectural pattern
Destructuring Frontend monoliths with MicroFrontends
03:17 MIN
A brief history of the micro-frontend architectural pattern
Micro-frontends anti-patterns
01:34 MIN
Key takeaways for building multi-version frontends
Advanced Micro Frontends: Multi-Version and Multi-Framework Scenarios
Micro Components - a different approach to a simpler component-based webThere has been a lot of heated discussion lately in the web community about component based development. One side argued that Web Components are a standard we should follow whereas others complained that they still lag behind in what frameworks offer...
Benedikt Bischof
Why You Shouldn’t Build a Microservice ArchitectureWelcome to this issue of the WeAreDevelopers Live Talk series. This article recaps an interesting talk by Michael Eisenbart who talks about the pros and cons of microservice architecture.About the speaker:Michael has been working for Bosch as a sof...
Chris Heilmann
WeAreDevelopers LIVE days are changing - get ready to take partStarting with this week's Web Dev Day edition of WeAreDevelopers LIVE Days, we changed the the way we run these online conferences. The main differences are:Shorter talks (half an hour tops)More interaction in Q&AA tips and tricks "Did you know" sect...