How to Win at UI Development in the World of Microservices
August 7, 2019
Matt Raible | @mraible
Photo by Matthew Sullivan flickr.com/photos/shoebappa/2186734172
#THATConference
Blogger on raibledesigns.com and

developer.okta.com/blog
Web Developer and Java Champion
Father, Husband, Skier, Mountain
Biker, Whitewater Rafter
Open Source Connoisseur
Hi, I’m Matt Raible!
Bus Lover
Okta Developer Advocate
developer.okta.com
What About You?
Today’s Agenda
History of Web Frameworks
The Microservices Explosion
UI Development in a
Microservices World 🌎
Real Developer Stories
How to Win 🏆
Photo by Glyn Lowe PhotoWorks flickr.com/photos/glynlowe/10039742285
A Brief History of Web Frameworks
The Microservices Explosion 💥
https://martinfowler.com/articles/microservices.html
The Microservices Explosion 💥
Conway's Law in action Service boundaries reinforced by team boundaries
UI Development in a Microservices World 🌎
https://micro-frontends.org
State of the Art in Java + JavaScript
https://www.jhipster.tech
JHipster 6 Microservices UI Overview
https://youtu.be/-QCuWgLQmdg
⚡Micro Frontends
https://martinfowler.com/articles/micro-frontends.html
⚡Micro Frontends
https://micro-frontends.org
⚡Micro Frontends
https://micro-frontends.org
Techniques
Web components as the target output
Custom elements to create web components
DOM Events to communicate between frontends
Server-side rendering and SSI (server-side includes) or ESI
(edge-side includes)
CDNs and cache-busting as a deployment mechanism
Frameworks for Micro Frontends
Project Mosaic: https://www.mosaic9.org
Single-spa: https://single-spa.js.org
Demo: https://single-spa.surge.sh
Framework Usage
https://twitter.com/mraible/status/1156263974649778176
Real Developer Stories
Other Companies using Micro Frontends
https://medium.com/@tomsoderlund/micro-frontends-a-microservice-approach-to-
front-end-web-development-f325ebdadc16
How to Win at UI Dev with Microservices
Use a monolith with one
framework, components, and
lazy-loading
Use micro frontends that
allows any framework,
leveraging web components
Learn More
https://micro-frontends.org
https://martinfowler.com/articles/micro-frontends.html
CaSE Podcast - https://www.case-podcast.org
Micro Frontends with Gustaf Nilsson Kotte
Web Frontend with Lucas Dohmen
ThoughtWorks Podcast: What’s so cool about micro frontends?
Make some $$ 🤑
https://github.com/jhipster/generator-jhipster/issues/10189
developer.okta.com/blog
@oktadev
Thanks!
Keep in Touch
raibledesigns.com
@mraible
Presentations
speakerdeck.com/mraible
Code
github.com/oktadeveloper
developer.okta.com
How to Win at UI Development in the World of Microservices - THAT Conference 2019

How to Win at UI Development in the World of Microservices - THAT Conference 2019