Break Up
With Your
Frontend Monolith
Maor Frankel
Microservices
to the rescue!
π
Keep It
Simple & Stupid
All in one place
Backend
Microservices
Frontend
Frontend ?
/home
/content
/settings
β
β
β
Links
β
Links
β
/home
/content
/settings
β
6 passing
3 failing
Develop Independently
Run Independently
Technology Agnostic
Fast Loading
Native Support
Corporate Identity
Sharing Basics
Smooth User Interaction
Modular
Integration on Code Level
Bundle
β
Lazy Loading
β
β
Web Components
Really !?!?
https://unsplash.com/photos/TdM_fhzmWog
/home
/content
/settings
β
@_lizzelo_
App Shell
β
β
β
β
β
@_lizzelo_
App Shell
β
/content
β
Routing
@_lizzelo_
const routeEntries = [
{
route: 'home',
goto: 'xy.com/home'
},
{
route: 'content',
goto: 'xy.com/content'
},
{
route: 'settings',
goto: 'xy.com/settings'
}
}
/content
β
xy.com/content
β
Loading via Manifest Files
{
"name": "content",
"version": "1.0.1",
"content": {
"js": [
"/js/bundle.min.js"
],
"css": [
"/css/style.min.css"
]
}
}
@_lizzelo_
App Shell
β
β
JS
CSS
xy.com/content
Initialization
window.xy.content.init(
applicationUrl,
path,
dependencies,
...
)
@_lizzelo_
App Shell
β
β
JS
CSS
App Shell
/home
/content
/settings
β
6 passing
3 challenges
Develop Independently
Run Independently
Technology Agnostic
Super Fast Loading
Native Support
Corporate Identity
Sharing Basics
Smooth User Interaction
Modular
@_lizzelo_
App Shell
β
β
β
β
β
@_lizzelo_
Complex Environment
Build Scripts
Error Handling
Redundancy
Shared Dependencies
π³
π€
π
Β
π
π€
Independence
Easier Testing
Faster Onboarding
π
π
π
Future Proof
Resilient
π
π
Maintainable
π
[Micro Frontends]
After the Break Up
@_lizzelo_
Be Open
π
Start Dating
@_lizzelo_
πΆπΌ
πΆπ»
πΆπ½
πΆπΎ
@_lizzelo_
start a new
love story!
Break Up
With Your
Frontend Monolith
&
Credits
gutefrage.net GmbH
Β
Katharina Brinck
Thomas Zolynski
François Godet
Johannes Weber
Β
Pixabay
Copy of Break up with your Frontend Monolith
By Maor Frankel
Copy of Break up with your Frontend Monolith
YouTube recording: https://www.youtube.com/watch?v=W3_8sxUurzA
- 381