SlideShare une entreprise Scribd logo
1  sur  23
MICRO-FRONTEND
ARCHITECTURE
Presented By
Athira Vinod Livares Technologies Pvt Ltd
Tech&Socio-Cultural Group
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
CONTENTS
● Introduction
● Core ideas behind micro frontend
● Technical benefits of architecture
● Sample implementation
● Integration approaches
● Types of Micro frontend
● Challenges
● How to overcome
● Companies using this architecture
● Conclusion
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
What is Micro-frontend
The micro-frontend architecture is a type of design applied to the frontend
that allows us to divide UI into smaller, individual and semi-independent
applications that work together. This frontend concept is very much
inspired by the microservices used mostly in the backend
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
Core Ideas behind Micro
Frontend
● Technological independence
● Separation of teams
● Team nomenclatures: Build independent apps that are self contained
● Resilient web design: Services are independent, so if one of them
crashes, others keep functioning.
● Use native browser events: Use Browser Events for communication
● Faster development: Developers can work on multiple services in
parallel
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
Technical benefits of architecture
● Optimize for feature development
● Good for medium to large sized project
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
Technical benefits of architecture
● No more frontend monolith
● Multiple frontend per team
● The source code for each individual micro frontend will by definition
be much smaller than the source code of a single monolithic
frontend
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
Technical benefits of architecture
● Continuously deployable components
● Be able to keep changing
● Can be upgraded whenever it makes sense, rather than being
forced to stop the world and upgrade everything at once
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
Sample implementation
● There should be a landing page where customers can browse and search
for restaurants.
● Each restaurant needs its own page that shows its menu items, and
allows a customer to choose what they want to eat, with discounts, meal
deals, and special requests
● Customers should have a profile page where they can see their order
history, track delivery, and customise their payment options
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
Integration approaches
There is a micro frontend for each page in the application, and there is a
single container application, which:
● renders common page elements such as headers and footers
● addresses cross-cutting concerns like authentication and navigation
● brings the various micro frontends together onto the page, and tells each
micro frontend when and where to render itself
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
1. Server-side template composition
Code is split up into such a way that each piece represents a self-
contained domain concept that can be delivered by an independent team
but the assumption is that they each have their own deployment pipeline,
which allows us to deploy changes to one page without affecting or
thinking about any other page.
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
2. Build-time integration
Publish each micro frontend as a package, and have the container
application include them all as library dependencies. Here is how
the container's package.json might look for our example app.
Tech&Socio-Cultural Group
Livares Technologies Pvt Ltd
3. Run-time integration via iframe
iframes make it easy to build a page out of independent sub-pages. They also offer a good
degree of isolation in terms of styling and global variables not interfering with each other
4. Run-time integration via JavaScript
Each micro frontend is included onto the page using a <script> tag, and upon load exposes a
global function as its entry-point. The container application then determines which micro
frontend should be mounted, and calls the relevant function to tell a micro frontend when and
where to render itself.
Tech&Socio-Cultural Group
Livares Technologies Pvt Ltd
5. Run-time integration web components
Web components are set of web platform APIs that allow developers to create
reusable UI components using web standards.
Tech&Socio-Cultural Group
Livares Technologies Pvt Ltd
Tech&Socio-Cultural Group
Livares Technologies Pvt Ltd
Tech&Socio-Cultural Group
Livares Technologies Pvt Ltd
● Team Product decides which functionality is included and where it is positioned in the layout
● Team Checkout (blue) is now responsible for everything regarding the purchasing process - namely
the buy button and mini basket.
● Team Inspire (green) manages the product recommendations on this page. The page itself is owned
by Team Product (red).
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
Different Types of Micro frontend
● Vertical micro frontend: Allows one micro-frontend per business
domain.
● Horizontal micro frontend: Allows multiple micro-frontends per
page.
● Hybrid micro frontend: Combines both vertical and horizontal.
● Shell micro frontend: Loads and initializes micro frontend as needed
● Widget micro frontend: Each widget has its own HTML,CSS, JS code,
make it easy to develop and deploy independently.
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
Challenges
● Operational complexity: Team needs to manage multiple code bases,
dependencies and deployment processes.
● Coordination: To ensure individual teams are compatible with each
other
● Increase page load time
● Testing: Can be time consuming
● High initial investment
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
How to overcome
● Consider using light weight protocols like REST or GraphQL to reduce
complexity and performance overhead.
● To optimize cost consider using cloud based solutions like AWS, Google cloud
or Azure
● To simplify integration challenges, standardize the technologies
● To reduce development time and overhead use DevOps practices like
continuous integration and continuous deployment.
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
Companies using micro frontend
It is quite popular in e-commerce sector
● IKEA
● Upwork
● Spotify
● Amazon
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
Conclusion
The micro frontend architecture is particularly favourable for large-scale web
development projects based on microservices. It enables different
components to be developed by separate, autonomous teams of
programmers. As a result, it delivers several benefits, including a faster rollout
of new features, simpler testing of individual components, and smoother
updates.
Tech&Socio-Cultural Group
PRESENTATION
TITLE
Livares Technologies Pvt Ltd
References
● https://martinfowler.com/articles/micro-frontends.html
● https://livebook.manning.com/book/micro-frontends-in-
action/chapter-1/v-4/1
● https://apiumhub.com/tech-blog-barcelona/micro-frontend-
architecture/
OUR
CONTACT DETAILS
Livares Technologies Pvt Ltd
5th Floor, Yamuna Building
Technopark Phase III Campus
Trivandrum, Kerala, India-
695581
Livares Technologies Pvt Ltd
Tech&Socio-Cultural Group
Our helpline is always open to receive any inquiry
or feedback.Please feel free to contact us
www.livares.com
contact@livares.com
@livaresofficial
www.facebook.com/livaresofficial
+91-471-2710003 | +91-471-
2710004
THANK
YOU

Contenu connexe

Tendances

State of Micro Frontend
State of Micro FrontendState of Micro Frontend
State of Micro FrontendYugo Sakamoto
 
FEVR - Micro Frontend
FEVR - Micro FrontendFEVR - Micro Frontend
FEVR - Micro FrontendMiki Lombardi
 
[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...
[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...
[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...DevDay.org
 
Micro Frontends Architecture
Micro Frontends ArchitectureMicro Frontends Architecture
Micro Frontends ArchitectureRag Dhiman
 
Mikrofrontend a Module Federation
Mikrofrontend a Module FederationMikrofrontend a Module Federation
Mikrofrontend a Module FederationThe Software House
 
Ivan Jovanovic - Micro Frontends - Codemotion Rome_2019
Ivan Jovanovic - Micro Frontends - Codemotion Rome_2019Ivan Jovanovic - Micro Frontends - Codemotion Rome_2019
Ivan Jovanovic - Micro Frontends - Codemotion Rome_2019Codemotion
 
Micro Frontends Architecture - Jitendra kumawat (Guavus)
Micro Frontends Architecture - Jitendra kumawat (Guavus)Micro Frontends Architecture - Jitendra kumawat (Guavus)
Micro Frontends Architecture - Jitendra kumawat (Guavus)Tech Triveni
 
Micro Front-End & Microservices - Plansoft
Micro Front-End & Microservices - PlansoftMicro Front-End & Microservices - Plansoft
Micro Front-End & Microservices - PlansoftMiki Lombardi
 
Micro frontend: The microservices puzzle extended to frontend
Micro frontend: The microservices puzzle  extended to frontendMicro frontend: The microservices puzzle  extended to frontend
Micro frontend: The microservices puzzle extended to frontendAudrey Neveu
 
"Micro-frontends, web development", Oleksandr Khivrych
"Micro-frontends, web development", Oleksandr Khivrych"Micro-frontends, web development", Oleksandr Khivrych
"Micro-frontends, web development", Oleksandr KhivrychFwdays
 
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai..."Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...Fwdays
 
Microservice Approach for Web Development with Micro Frontends
Microservice Approach for Web Development with Micro FrontendsMicroservice Approach for Web Development with Micro Frontends
Microservice Approach for Web Development with Micro Frontendsandrejusb
 
Building applications in a Micro-frontends way
Building applications in a Micro-frontends wayBuilding applications in a Micro-frontends way
Building applications in a Micro-frontends wayPrasanna Venkatesan
 
Micro frontends with react and redux dev day
Micro frontends with react and redux   dev dayMicro frontends with react and redux   dev day
Micro frontends with react and redux dev dayPrasanna Venkatesan
 
Node.js BFFs: our way to better/micro frontends
Node.js BFFs: our way to better/micro frontendsNode.js BFFs: our way to better/micro frontends
Node.js BFFs: our way to better/micro frontendsEugene Fidelin
 

Tendances (20)

State of Micro Frontend
State of Micro FrontendState of Micro Frontend
State of Micro Frontend
 
Micro-frontend
Micro-frontendMicro-frontend
Micro-frontend
 
FEVR - Micro Frontend
FEVR - Micro FrontendFEVR - Micro Frontend
FEVR - Micro Frontend
 
Micro Front Ends : Divided We Rule by Parth Ghiya - AhmedabadJS
Micro Front Ends : Divided We Rule by Parth Ghiya - AhmedabadJSMicro Front Ends : Divided We Rule by Parth Ghiya - AhmedabadJS
Micro Front Ends : Divided We Rule by Parth Ghiya - AhmedabadJS
 
[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...
[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...
[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...
 
Micro Frontends Architecture
Micro Frontends ArchitectureMicro Frontends Architecture
Micro Frontends Architecture
 
Mikrofrontend a Module Federation
Mikrofrontend a Module FederationMikrofrontend a Module Federation
Mikrofrontend a Module Federation
 
Ivan Jovanovic - Micro Frontends - Codemotion Rome_2019
Ivan Jovanovic - Micro Frontends - Codemotion Rome_2019Ivan Jovanovic - Micro Frontends - Codemotion Rome_2019
Ivan Jovanovic - Micro Frontends - Codemotion Rome_2019
 
Micro Frontends Architecture - Jitendra kumawat (Guavus)
Micro Frontends Architecture - Jitendra kumawat (Guavus)Micro Frontends Architecture - Jitendra kumawat (Guavus)
Micro Frontends Architecture - Jitendra kumawat (Guavus)
 
Micro Frontends
Micro FrontendsMicro Frontends
Micro Frontends
 
Micro Front-End & Microservices - Plansoft
Micro Front-End & Microservices - PlansoftMicro Front-End & Microservices - Plansoft
Micro Front-End & Microservices - Plansoft
 
Micro frontend: The microservices puzzle extended to frontend
Micro frontend: The microservices puzzle  extended to frontendMicro frontend: The microservices puzzle  extended to frontend
Micro frontend: The microservices puzzle extended to frontend
 
"Micro-frontends, web development", Oleksandr Khivrych
"Micro-frontends, web development", Oleksandr Khivrych"Micro-frontends, web development", Oleksandr Khivrych
"Micro-frontends, web development", Oleksandr Khivrych
 
Micro-frontends – is it a new normal?
Micro-frontends – is it a new normal?Micro-frontends – is it a new normal?
Micro-frontends – is it a new normal?
 
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai..."Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
 
Micro Frontends
Micro FrontendsMicro Frontends
Micro Frontends
 
Microservice Approach for Web Development with Micro Frontends
Microservice Approach for Web Development with Micro FrontendsMicroservice Approach for Web Development with Micro Frontends
Microservice Approach for Web Development with Micro Frontends
 
Building applications in a Micro-frontends way
Building applications in a Micro-frontends wayBuilding applications in a Micro-frontends way
Building applications in a Micro-frontends way
 
Micro frontends with react and redux dev day
Micro frontends with react and redux   dev dayMicro frontends with react and redux   dev day
Micro frontends with react and redux dev day
 
Node.js BFFs: our way to better/micro frontends
Node.js BFFs: our way to better/micro frontendsNode.js BFFs: our way to better/micro frontends
Node.js BFFs: our way to better/micro frontends
 

Similaire à Micro-frontend Architecture: Benefits and Implementation

How to Maximize User Experience with Effective Front-End Technology Choices
How to Maximize User Experience with Effective Front-End Technology ChoicesHow to Maximize User Experience with Effective Front-End Technology Choices
How to Maximize User Experience with Effective Front-End Technology ChoicesMinds Task Technologies
 
Analyzing Optimal Practises for Web Frameworks
Analyzing Optimal Practises for Web FrameworksAnalyzing Optimal Practises for Web Frameworks
Analyzing Optimal Practises for Web FrameworksIRJET Journal
 
What's New In Entando 6 (And Why Your Developers Will Love It)
What's New In Entando 6 (And Why Your Developers Will Love It)What's New In Entando 6 (And Why Your Developers Will Love It)
What's New In Entando 6 (And Why Your Developers Will Love It)Entando
 
Top Reasons to Choose AngularJS as your Front-end Framework
Top Reasons to Choose AngularJS as your Front-end FrameworkTop Reasons to Choose AngularJS as your Front-end Framework
Top Reasons to Choose AngularJS as your Front-end FrameworkQSS Technosoft
 
Internship-Report-VitulChauhan-18132023-IT_CRUD-OPERATION.pdf
Internship-Report-VitulChauhan-18132023-IT_CRUD-OPERATION.pdfInternship-Report-VitulChauhan-18132023-IT_CRUD-OPERATION.pdf
Internship-Report-VitulChauhan-18132023-IT_CRUD-OPERATION.pdfVitulChauhan
 
Delivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoDelivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoWSO2
 
What's New In Entando 6 (And How It Helps Your Business)
What's New In Entando 6 (And How It Helps Your Business)What's New In Entando 6 (And How It Helps Your Business)
What's New In Entando 6 (And How It Helps Your Business)Entando
 
vue-storefront - PWA eCommerce for Magento2 MM17NYC presentation
vue-storefront - PWA eCommerce for Magento2 MM17NYC presentationvue-storefront - PWA eCommerce for Magento2 MM17NYC presentation
vue-storefront - PWA eCommerce for Magento2 MM17NYC presentationDivante
 
The Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.pptThe Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.pptAsad Majeed
 
Web Development company in Chennai.pdf
Web Development company in Chennai.pdfWeb Development company in Chennai.pdf
Web Development company in Chennai.pdftechbabu
 
RELIA SOFTWARE- COMPANY PROFILE.pdf
RELIA SOFTWARE- COMPANY PROFILE.pdfRELIA SOFTWARE- COMPANY PROFILE.pdf
RELIA SOFTWARE- COMPANY PROFILE.pdfRelia Software
 
Android Application Engineering Presentation
Android Application Engineering PresentationAndroid Application Engineering Presentation
Android Application Engineering Presentation19btc037
 
Crafting Digital Experiences: The Art of Custom Web Development in London
Crafting Digital Experiences: The Art of Custom Web Development in LondonCrafting Digital Experiences: The Art of Custom Web Development in London
Crafting Digital Experiences: The Art of Custom Web Development in Londoninshrahencoderstudio
 
9 Best Tools to Leverage for Progressive Web App Development
9 Best Tools to Leverage for Progressive Web App Development9 Best Tools to Leverage for Progressive Web App Development
9 Best Tools to Leverage for Progressive Web App Developmentcodecraftcrew
 
IRJET- Web Page Builder
IRJET- Web Page BuilderIRJET- Web Page Builder
IRJET- Web Page BuilderIRJET Journal
 
Ora_Case_Study_Oracle Application Development Framework
Ora_Case_Study_Oracle Application Development FrameworkOra_Case_Study_Oracle Application Development Framework
Ora_Case_Study_Oracle Application Development FrameworkNeha Singh
 

Similaire à Micro-frontend Architecture: Benefits and Implementation (20)

How to Maximize User Experience with Effective Front-End Technology Choices
How to Maximize User Experience with Effective Front-End Technology ChoicesHow to Maximize User Experience with Effective Front-End Technology Choices
How to Maximize User Experience with Effective Front-End Technology Choices
 
Analyzing Optimal Practises for Web Frameworks
Analyzing Optimal Practises for Web FrameworksAnalyzing Optimal Practises for Web Frameworks
Analyzing Optimal Practises for Web Frameworks
 
What's New In Entando 6 (And Why Your Developers Will Love It)
What's New In Entando 6 (And Why Your Developers Will Love It)What's New In Entando 6 (And Why Your Developers Will Love It)
What's New In Entando 6 (And Why Your Developers Will Love It)
 
Top Reasons to Choose AngularJS as your Front-end Framework
Top Reasons to Choose AngularJS as your Front-end FrameworkTop Reasons to Choose AngularJS as your Front-end Framework
Top Reasons to Choose AngularJS as your Front-end Framework
 
Internship-Report-VitulChauhan-18132023-IT_CRUD-OPERATION.pdf
Internship-Report-VitulChauhan-18132023-IT_CRUD-OPERATION.pdfInternship-Report-VitulChauhan-18132023-IT_CRUD-OPERATION.pdf
Internship-Report-VitulChauhan-18132023-IT_CRUD-OPERATION.pdf
 
Delivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoDelivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing Choreo
 
What's New In Entando 6 (And How It Helps Your Business)
What's New In Entando 6 (And How It Helps Your Business)What's New In Entando 6 (And How It Helps Your Business)
What's New In Entando 6 (And How It Helps Your Business)
 
GulabMaurya
GulabMauryaGulabMaurya
GulabMaurya
 
vue-storefront - PWA eCommerce for Magento2 MM17NYC presentation
vue-storefront - PWA eCommerce for Magento2 MM17NYC presentationvue-storefront - PWA eCommerce for Magento2 MM17NYC presentation
vue-storefront - PWA eCommerce for Magento2 MM17NYC presentation
 
The Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.pptThe Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.ppt
 
Mendix Platform
Mendix PlatformMendix Platform
Mendix Platform
 
Web Development company in Chennai.pdf
Web Development company in Chennai.pdfWeb Development company in Chennai.pdf
Web Development company in Chennai.pdf
 
RELIA SOFTWARE- COMPANY PROFILE.pdf
RELIA SOFTWARE- COMPANY PROFILE.pdfRELIA SOFTWARE- COMPANY PROFILE.pdf
RELIA SOFTWARE- COMPANY PROFILE.pdf
 
Android Application Engineering Presentation
Android Application Engineering PresentationAndroid Application Engineering Presentation
Android Application Engineering Presentation
 
Crafting Digital Experiences: The Art of Custom Web Development in London
Crafting Digital Experiences: The Art of Custom Web Development in LondonCrafting Digital Experiences: The Art of Custom Web Development in London
Crafting Digital Experiences: The Art of Custom Web Development in London
 
9 Best Tools to Leverage for Progressive Web App Development
9 Best Tools to Leverage for Progressive Web App Development9 Best Tools to Leverage for Progressive Web App Development
9 Best Tools to Leverage for Progressive Web App Development
 
MicroForntends.pdf
MicroForntends.pdfMicroForntends.pdf
MicroForntends.pdf
 
IRJET- Web Page Builder
IRJET- Web Page BuilderIRJET- Web Page Builder
IRJET- Web Page Builder
 
.Net @ Neev
.Net @ Neev.Net @ Neev
.Net @ Neev
 
Ora_Case_Study_Oracle Application Development Framework
Ora_Case_Study_Oracle Application Development FrameworkOra_Case_Study_Oracle Application Development Framework
Ora_Case_Study_Oracle Application Development Framework
 

Plus de Livares Technologies Pvt Ltd

Smart water meter solutions using LoRa WAN - Troncart
Smart water meter solutions using LoRa WAN - TroncartSmart water meter solutions using LoRa WAN - Troncart
Smart water meter solutions using LoRa WAN - TroncartLivares Technologies Pvt Ltd
 

Plus de Livares Technologies Pvt Ltd (20)

Web Performance Optimization
Web Performance OptimizationWeb Performance Optimization
Web Performance Optimization
 
Supervised Machine Learning
Supervised Machine LearningSupervised Machine Learning
Supervised Machine Learning
 
Software Architecture Design
Software Architecture DesignSoftware Architecture Design
Software Architecture Design
 
Automation using Appium
Automation using AppiumAutomation using Appium
Automation using Appium
 
Bubble(No code Tool)
Bubble(No code Tool)Bubble(No code Tool)
Bubble(No code Tool)
 
Unsupervised Machine Learning
Unsupervised Machine LearningUnsupervised Machine Learning
Unsupervised Machine Learning
 
Developing Secure Apps
Developing Secure AppsDeveloping Secure Apps
Developing Secure Apps
 
Apache J meter
Apache J meterApache J meter
Apache J meter
 
Introduction to Angular JS
Introduction to Angular JSIntroduction to Angular JS
Introduction to Angular JS
 
An Insight into Quantum Computing
An Insight into Quantum ComputingAn Insight into Quantum Computing
An Insight into Quantum Computing
 
Just in Time (JIT)
Just in Time (JIT)Just in Time (JIT)
Just in Time (JIT)
 
Introduction to Bitcoin
Introduction to Bitcoin Introduction to Bitcoin
Introduction to Bitcoin
 
Data Mining Technniques
Data Mining TechnniquesData Mining Technniques
Data Mining Technniques
 
Facade Design Pattern
Facade Design PatternFacade Design Pattern
Facade Design Pattern
 
Manual Vs Automation Testing
Manual Vs Automation TestingManual Vs Automation Testing
Manual Vs Automation Testing
 
Screenless display
Screenless displayScreenless display
Screenless display
 
Database Overview
Database OverviewDatabase Overview
Database Overview
 
An Introduction to Machine Learning
An Introduction to Machine LearningAn Introduction to Machine Learning
An Introduction to Machine Learning
 
An Introduction to Face Detection
An Introduction to Face DetectionAn Introduction to Face Detection
An Introduction to Face Detection
 
Smart water meter solutions using LoRa WAN - Troncart
Smart water meter solutions using LoRa WAN - TroncartSmart water meter solutions using LoRa WAN - Troncart
Smart water meter solutions using LoRa WAN - Troncart
 

Dernier

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 

Dernier (20)

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 

Micro-frontend Architecture: Benefits and Implementation

  • 1. MICRO-FRONTEND ARCHITECTURE Presented By Athira Vinod Livares Technologies Pvt Ltd Tech&Socio-Cultural Group
  • 2. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd CONTENTS ● Introduction ● Core ideas behind micro frontend ● Technical benefits of architecture ● Sample implementation ● Integration approaches ● Types of Micro frontend ● Challenges ● How to overcome ● Companies using this architecture ● Conclusion
  • 3. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd What is Micro-frontend The micro-frontend architecture is a type of design applied to the frontend that allows us to divide UI into smaller, individual and semi-independent applications that work together. This frontend concept is very much inspired by the microservices used mostly in the backend
  • 4. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd Core Ideas behind Micro Frontend ● Technological independence ● Separation of teams ● Team nomenclatures: Build independent apps that are self contained ● Resilient web design: Services are independent, so if one of them crashes, others keep functioning. ● Use native browser events: Use Browser Events for communication ● Faster development: Developers can work on multiple services in parallel
  • 5. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd Technical benefits of architecture ● Optimize for feature development ● Good for medium to large sized project
  • 6. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd Technical benefits of architecture ● No more frontend monolith ● Multiple frontend per team ● The source code for each individual micro frontend will by definition be much smaller than the source code of a single monolithic frontend
  • 7. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd Technical benefits of architecture ● Continuously deployable components ● Be able to keep changing ● Can be upgraded whenever it makes sense, rather than being forced to stop the world and upgrade everything at once
  • 8. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd Sample implementation ● There should be a landing page where customers can browse and search for restaurants. ● Each restaurant needs its own page that shows its menu items, and allows a customer to choose what they want to eat, with discounts, meal deals, and special requests ● Customers should have a profile page where they can see their order history, track delivery, and customise their payment options
  • 9. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd Integration approaches There is a micro frontend for each page in the application, and there is a single container application, which: ● renders common page elements such as headers and footers ● addresses cross-cutting concerns like authentication and navigation ● brings the various micro frontends together onto the page, and tells each micro frontend when and where to render itself
  • 10. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd 1. Server-side template composition Code is split up into such a way that each piece represents a self- contained domain concept that can be delivered by an independent team but the assumption is that they each have their own deployment pipeline, which allows us to deploy changes to one page without affecting or thinking about any other page.
  • 11. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd 2. Build-time integration Publish each micro frontend as a package, and have the container application include them all as library dependencies. Here is how the container's package.json might look for our example app.
  • 12. Tech&Socio-Cultural Group Livares Technologies Pvt Ltd 3. Run-time integration via iframe iframes make it easy to build a page out of independent sub-pages. They also offer a good degree of isolation in terms of styling and global variables not interfering with each other 4. Run-time integration via JavaScript Each micro frontend is included onto the page using a <script> tag, and upon load exposes a global function as its entry-point. The container application then determines which micro frontend should be mounted, and calls the relevant function to tell a micro frontend when and where to render itself.
  • 13. Tech&Socio-Cultural Group Livares Technologies Pvt Ltd 5. Run-time integration web components Web components are set of web platform APIs that allow developers to create reusable UI components using web standards.
  • 16. Tech&Socio-Cultural Group Livares Technologies Pvt Ltd ● Team Product decides which functionality is included and where it is positioned in the layout ● Team Checkout (blue) is now responsible for everything regarding the purchasing process - namely the buy button and mini basket. ● Team Inspire (green) manages the product recommendations on this page. The page itself is owned by Team Product (red).
  • 17. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd Different Types of Micro frontend ● Vertical micro frontend: Allows one micro-frontend per business domain. ● Horizontal micro frontend: Allows multiple micro-frontends per page. ● Hybrid micro frontend: Combines both vertical and horizontal. ● Shell micro frontend: Loads and initializes micro frontend as needed ● Widget micro frontend: Each widget has its own HTML,CSS, JS code, make it easy to develop and deploy independently.
  • 18. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd Challenges ● Operational complexity: Team needs to manage multiple code bases, dependencies and deployment processes. ● Coordination: To ensure individual teams are compatible with each other ● Increase page load time ● Testing: Can be time consuming ● High initial investment
  • 19. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd How to overcome ● Consider using light weight protocols like REST or GraphQL to reduce complexity and performance overhead. ● To optimize cost consider using cloud based solutions like AWS, Google cloud or Azure ● To simplify integration challenges, standardize the technologies ● To reduce development time and overhead use DevOps practices like continuous integration and continuous deployment.
  • 20. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd Companies using micro frontend It is quite popular in e-commerce sector ● IKEA ● Upwork ● Spotify ● Amazon
  • 21. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd Conclusion The micro frontend architecture is particularly favourable for large-scale web development projects based on microservices. It enables different components to be developed by separate, autonomous teams of programmers. As a result, it delivers several benefits, including a faster rollout of new features, simpler testing of individual components, and smoother updates.
  • 22. Tech&Socio-Cultural Group PRESENTATION TITLE Livares Technologies Pvt Ltd References ● https://martinfowler.com/articles/micro-frontends.html ● https://livebook.manning.com/book/micro-frontends-in- action/chapter-1/v-4/1 ● https://apiumhub.com/tech-blog-barcelona/micro-frontend- architecture/
  • 23. OUR CONTACT DETAILS Livares Technologies Pvt Ltd 5th Floor, Yamuna Building Technopark Phase III Campus Trivandrum, Kerala, India- 695581 Livares Technologies Pvt Ltd Tech&Socio-Cultural Group Our helpline is always open to receive any inquiry or feedback.Please feel free to contact us www.livares.com contact@livares.com @livaresofficial www.facebook.com/livaresofficial +91-471-2710003 | +91-471- 2710004 THANK YOU