Frontend application
Reports
User
Data
Payments
Reports
Service
User
Service
Data
Service
Payments
Service
Backend services
Monolithic Frontends
Reports
Team
User
Team
Data
Team
Payments
Team
Front End
Data
Back End
Organisation in Verticals
Encapsulation
Performance
Ownership
Communication
Seamless
Common Resources
Backward Compatible
WHAT CAN WE DO?
IFrames
Web components
IFrames
Performance
Performance
Performance
Performance
Performance
Performance
Web Components
JS encapsulation
Vague definition
Communication
CSS, HTML encapsulation
Our solution
Lazy Load Angular Feature Modules
Pros:
Cons:
Lazy Load Angular Feature Modules
Module
Container app
Reports team
Module
Module
Webpack build
Share-loader
Payments team
Data team
Module bundle
Independent deployment
Reports team
{ }
Payments team
Data team
All modules loaded at runtime to container app
At runtime all modules share common resources via a global namespace
Discovery service
THANK YOU!
Come again...