SlideShare a Scribd company logo
SPAs are dead….
Long live Microfrontends
Vinci Rufus
@areai51
2
Prashant Nisheed Jessy Anand
Anirvann Hari Kiran Imran
Saurabh
3
We Love SPAs
4
5
6
7
A/B Testing
Analytics
Upgrading
Regression
Testing
Continuous Deployment
..some other problems with SPAs
8
Monoliths on top of Microservices
Microservices
API Gateway
Single Page Apps (SPA)
9
Backend
Frontend
Monoliths Microservices
Backend
10
Customers don’t care about your SPA,
They want a Single Page Experience
So what are Microfrontends?
aka Frontend Microservices
12
The term "Microservice Architecture" has sprung
up over the last few years to describe a particular
way of designing software applications as suites
of independently deployable services.
M A R T I N F O W L E R – M A R C H 2 0 1 4
13
 Abstract Complexity away from developers.
 Deploy modules quickly.
 Group Teams by domain contexts.
 Allow teams to choose their tech stack.
Principles of
Microservices
14
Architecting Software is more like
Constructing a Building
Town Planning
15
SinglePageApp STATE MANAGEMENT
Actions
Store
Reducers
Middleware
ROUTING
Routing
Components
Stateful Components
Stateless Functional Components
Templates
Styling
Browser
Bundles
bundle.js
chunk01.js
vendor.js
chunk02.js
Anatomy of a SPA
16
CLOUD
Assembler
MicroApps
Team A
Team C
TemplateFolder
Team B
Routing
17
Breaking Down your App
18
19
Routing
• Custom APIs
• Skipper (Mosaic 9)
Assembler
• Node JS
• Tailor JS
• Amalgam Parser
Layouts HTML
(CMS driven)
MicroApps
• Angular Elements
• React
• Vue JS
• Web Components
Package
Manager
• Monorepos
• Lerna
Styles
• Encapsulated Styles
• CSS Modules,
• Emotion JS
• Styled Components
20
Building Great Software…
It’s not just about Technology!
21
ARCHITECTURE
PROCESS TEAMS
22
Frontend Teams
API teams
Backend Teams
Most Traditional Teams
23
Micro Service Based Teams #FullStack Teams
Homepage Team Search Team Products Team Cart Team
24
Demo
25
/header
/products
/featured
Server Side Rendering (Options)
Kubernetes
/products
/header
/featured
26
27
Cloud Functions!!!
28
CSR
SSR
Microfrontend Premium
30
Src: https://martinfowler.com/bliki/MicroservicePremium.html
Microfrontends
31
 App too big for a single person to have full knowhow.
 Teams have different sprints / deployment cycles.
 Stay Future Ready!
 Have strongly opinionated team members. ¯_(ツ)_/¯
Think about Microfrontends when?
32
Who are building MicroFrontends
33
34
Thanks!!!
@areai51
• Github.com/xt/nitro2
• Mosaic9.org/
• Opencomponents.github.io/

More Related Content

PPTX
UI5 Supportability Reloaded
PPTX
Immersion on Azure - Data base and Cognitive Service at a glance
PDF
LeanIX Keynote Lessons from a startup
PDF
Scaling frontend applications with micro-frontends Presentation.pdf
PPTX
Evolution of Application Development
PPTX
From Microservices to Service Mesh - devcafe event - July 2018
PPTX
UI5 Apps beyond the office (UI5con)
PDF
Exploring Microservice Graphs in Real Time
UI5 Supportability Reloaded
Immersion on Azure - Data base and Cognitive Service at a glance
LeanIX Keynote Lessons from a startup
Scaling frontend applications with micro-frontends Presentation.pdf
Evolution of Application Development
From Microservices to Service Mesh - devcafe event - July 2018
UI5 Apps beyond the office (UI5con)
Exploring Microservice Graphs in Real Time

Similar to Spas are dead Long Live Microfrontends (20)

PDF
Evolution of Application Development
PDF
Cookbook for Building An App
PPTX
Twelve factor-app
PPTX
An agile journey - Scania Connected Services at Meetup Go Agile - Stockholm (...
PPTX
Triangle Node Meetup : APIs in Minutes with Node.js
PDF
[WSO2 Integration Summit San Francisco 2019] The Composable Enterprise
PDF
The Composable Enterprise | Yenlo - WSO2 Integration Summit 2019, San Francisco
PDF
Innovation at scale - key drivers and pitfalls to building API driven agile b...
PDF
Innovation and scale - drivers and pitfalls to building API driven business p...
PDF
Find a React Developer Specialized in Micro-Frontends & Modular Architecture.pdf
PPTX
MICRO APPS - BREAKING THE MOBILE APP MONOLITH AND DELIVERING OMNICHANNEL EXPE...
PDF
Cloudify your applications: microservices and beyond
PPTX
Software application architecture
PPTX
The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016
PPTX
OutSystems - Go Fast or Go Home
PDF
Microservice pitfalls
DOCX
Major project srs
PPTX
UGIdotNET App Modernisation Keynote
DOCX
Rizwan Hamid-CV
PDF
Enterprise Applications, Microservices and SAP HANA Cloud Platform
Evolution of Application Development
Cookbook for Building An App
Twelve factor-app
An agile journey - Scania Connected Services at Meetup Go Agile - Stockholm (...
Triangle Node Meetup : APIs in Minutes with Node.js
[WSO2 Integration Summit San Francisco 2019] The Composable Enterprise
The Composable Enterprise | Yenlo - WSO2 Integration Summit 2019, San Francisco
Innovation at scale - key drivers and pitfalls to building API driven agile b...
Innovation and scale - drivers and pitfalls to building API driven business p...
Find a React Developer Specialized in Micro-Frontends & Modular Architecture.pdf
MICRO APPS - BREAKING THE MOBILE APP MONOLITH AND DELIVERING OMNICHANNEL EXPE...
Cloudify your applications: microservices and beyond
Software application architecture
The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016
OutSystems - Go Fast or Go Home
Microservice pitfalls
Major project srs
UGIdotNET App Modernisation Keynote
Rizwan Hamid-CV
Enterprise Applications, Microservices and SAP HANA Cloud Platform
Ad

More from Vinci Rufus (14)

PPTX
Microfrontends Monoreops & Trunkbased based
PPTX
Getting Productive & Performant with Angular
PPTX
Demand driven Applications with GraphQL
PPTX
Dos & Donts when making Technology choices
PPTX
Progressive Web App
PPTX
It's just Angular
PPTX
Angular PWA
PPTX
Taking Control of your Data with GraphQL
PPTX
Making Angular2 lean and Fast
PPTX
Re-thinking Performance tuning with HTTP2
PPTX
Teams Pizza Team vs Jigsaw Puzzle Team
PPTX
Gesture based Interactions in JavaScript
PPTX
Components Approach to building Web Apps
PPTX
Angular JS and Magento
Microfrontends Monoreops & Trunkbased based
Getting Productive & Performant with Angular
Demand driven Applications with GraphQL
Dos & Donts when making Technology choices
Progressive Web App
It's just Angular
Angular PWA
Taking Control of your Data with GraphQL
Making Angular2 lean and Fast
Re-thinking Performance tuning with HTTP2
Teams Pizza Team vs Jigsaw Puzzle Team
Gesture based Interactions in JavaScript
Components Approach to building Web Apps
Angular JS and Magento
Ad

Recently uploaded (20)

PPTX
Layers_of_the_Earth_Grade7.pptx class by
PPTX
Funds Management Learning Material for Beg
PDF
The Evolution of Traditional to New Media .pdf
PPTX
E -tech empowerment technologies PowerPoint
PPTX
t_and_OpenAI_Combined_two_pressentations
PPT
250152213-Excitation-SystemWERRT (1).ppt
PDF
Slides PDF: The World Game (s) Eco Economic Epochs.pdf
PDF
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
PPTX
1402_iCSC_-_RESTful_Web_APIs_--_Josef_Hammer.pptx
PDF
Session 1 (Week 1)fghjmgfdsfgthyjkhfdsadfghjkhgfdsa
PDF
The Ikigai Template _ Recalibrate How You Spend Your Time.pdf
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PPTX
artificial intelligence overview of it and more
PDF
si manuel quezon at mga nagawa sa bansang pilipinas
PPTX
artificialintelligenceai1-copy-210604123353.pptx
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PPTX
Internet Safety for Seniors presentation
PDF
Introduction to the IoT system, how the IoT system works
Layers_of_the_Earth_Grade7.pptx class by
Funds Management Learning Material for Beg
The Evolution of Traditional to New Media .pdf
E -tech empowerment technologies PowerPoint
t_and_OpenAI_Combined_two_pressentations
250152213-Excitation-SystemWERRT (1).ppt
Slides PDF: The World Game (s) Eco Economic Epochs.pdf
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
1402_iCSC_-_RESTful_Web_APIs_--_Josef_Hammer.pptx
Session 1 (Week 1)fghjmgfdsfgthyjkhfdsadfghjkhgfdsa
The Ikigai Template _ Recalibrate How You Spend Your Time.pdf
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
artificial intelligence overview of it and more
si manuel quezon at mga nagawa sa bansang pilipinas
artificialintelligenceai1-copy-210604123353.pptx
The New Creative Director: How AI Tools for Social Media Content Creation Are...
Design_with_Watersergyerge45hrbgre4top (1).ppt
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
Internet Safety for Seniors presentation
Introduction to the IoT system, how the IoT system works

Spas are dead Long Live Microfrontends

Editor's Notes

  • #2: For WNIN
  • #4: We love SPAs don’t we. A new framework launches very month showing how its better at building an SPA than the other frameworks We like to geek out on things like dynamic imports, webpack configs, code splitting / chunking.. Until about a year back I too loved SPAs.. Co-incidently my very first talk at a conference was demoing an SPA commerce storefront built on top of Magento. Lets take a moment to step back and see why SPAs have become popular…. Speed Better UX
  • #9: ---Teleprompter notes---- ---Narration --- Building monolith SPA on top of a microservices, completely nullifies the agility of the microservice architecture. From experience, the frontend undergoes far more frequent changes and the very thought of having to deploy the entire app bundle for even a small change in any one of the components, would trigger a full set of regression tests.
  • #13: ---Teleprompter notes---- ---Narration --- One of the most important features and often the first one to miss is the ability to independently deploy your service or feature to production. Netflix is known to have just 1 developer working on a microservice who have root access to the server and build and deploy their service to production atleast once a day.
  • #22: Getting Software Development Right It‘s all about the team – this is was matters! Mature teams need to be enabled to make their own decisions.