Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Micro frontend and web components
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yas
June 19, 2019
Programming
130
1
Share
Micro frontend and web components
Yas
June 19, 2019
More Decks by Yas
See All by Yas
Web performance - Browser APIs
yashints
0
150
How cheap serverless realli is?
yashints
0
120
Tensorflowjs 💝 AI
yashints
0
68
JavaScript & AI, V2
yashints
0
140
Machine learning & JavaScript, no you're not dreaming
yashints
1
130
WebAssembly's post MVP future
yashints
0
84
docker for web developers
yashints
0
450
Other Decks in Programming
See All in Programming
Coding as Prompting Since 2025
ragingwind
0
840
アーキテクチャモダナイゼーションとは何か
nwiizo
19
5.3k
VueエンジニアがReactを触って感じた_設計の違い
koukimiura
0
180
🦞OpenClaw works with AWS
licux
1
140
AI時代のPhpStorm最新事情 #phpcon_odawara
yusuke
0
190
tRPCの概要と少しだけパフォーマンス
misoton665
2
210
TiDBのアーキテクチャから学ぶ分散システム入門 〜MySQL互換のNewSQLは何を解決するのか〜 / tidb-architecture-study
dznbk
1
180
第3木曜LT会 #28
tinykitten
PRO
0
110
事業会社でのセキュリティ長期インターンについて
masachikaura
0
250
Liberating Ruby's Parser from Lexer Hacks
ydah
2
1.4k
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
990
PCOVから学ぶコードカバレッジ #phpcon_odawara
o0h
PRO
0
270
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
100
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
490
Test your architecture with Archunit
thirion
1
2.2k
The Language of Interfaces
destraynor
162
26k
WENDY [Excerpt]
tessaabrams
10
37k
The SEO identity crisis: Don't let AI make you average
varn
0
450
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
220
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
380
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
150
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
220
Transcript
Microapps Web Components @yashints yashints yashints
Microapps Web Components @yashints yashints yashints
yashints
yashints Agenda ▪ Intro ▪ Core ideas ▪ Meet Ali
and her team ▪ The issue ▪ Trials ▪ Final solution
Lead consultant @Readify Yaser Adel Mehraban @yashints Almond croissant addict
cleverly disguised as a web developer yashints.dev dev.to/yashints
yashints I a good monolith
yashints “ Don’t even consider microservices unless you have a
system that’s too complex to manage as a monolith. Martin Fowler
yashints “ Don’t even consider micro frontend unless you can
vertically slice your system to enable your teams to act independently. Me
yashints Core ideas ▪ Development speed ▪ Autonomous teams ▪
Customer focus ▪ Technology agnostic
yashints Product owner CarZila
yashints The issue Data Layer Business Layer User Interface
yashints Technology agnostic Independent deployment Team ownership Develop independently Fast
loading Smooth user interaction Sharing state Corporate identity Run independently Modular Native support
yashints First try User Interface Search Insight Test Drive Order
Payment Inventory
yashints Technology agnostic Independent deployment Team ownership Develop independently Fast
loading Smooth user interaction Sharing state Corporate identity Run independently Modular Native support
yashints Vision Search Insight Test Drive Order Payment Inventory Frontend
Backend Data store
yashints If you want to go fast, go alone. If
you want to go far, go together.
yashints First attempt Hyperlinks
yashints Hyperlinks Search Order Search.html order.html
yashints Fast loading Native support Team ownership Develop independently Run
independently Technology agnostic Independent deployment Corporate identity Sharing state Modular Smooth user interaction
yashints Integration vis composition ▪ Build time ▪ Run time
on client side ▪ Run time on server side
yashints Build time
yashints Build time { Search } { Insight } {
Test Drive } { Order } { Payment } { Inventory } Build Bundle
yashints Fast loading Native support Team ownership Develop independently Technology
agnostic Independent deployment Run independently Corporate identity Sharing state Modular Smooth user interaction
yashints Server Side composition
yashints SSI (Server Side Includes)
yashints SSI (Server Side Include)
yashints ESI (Edge Side Includes) Get Get Order
yashints Fast loading Native support Team ownership Develop independently Technology
agnostic Independent deployment Run independently Corporate identity Sharing state Modular Smooth user interaction
yashints Client Side composition
yashints IFrames
yashints Fast loading Native support Team ownership Develop independently Technology
agnostic Independent deployment Run independently Corporate identity Sharing state Modular Smooth user interaction
yashints Web components
yashints Custom Elements Shadow DOM ES6 Modules HTML Templates
yashints API
yashints API
yashints API
yashints App Shell
yashints Framework support
yashints Angular Elements Vue CLI Manual Community Soluttions Lit
yashints Fast loading Native support Team ownership Develop independently Technology
agnostic Independent deployment Run independently Corporate identity Sharing state Modular Smooth user interaction
yashints Demo
yashints Real use cases ▪ Migrate a large app to
another framework ▪ Fix a bug in one app and deploy independently ▪ Reuse an entire app ▪ And more…
yashints Taking balanced decisions is the secret ingredient for success
yashints
yashints
yashints References ▪ The demo is on my GitHub repo
yas.fyi/2FeIrI3 ▪ Slides yas.fyi/2Kspzt8 ▪ https://micro-frontends.org/ ▪ A good reference list yas.fyi/2KXHaZD
yashints Questions?