• Latest
Micro-Frontend Architecture – DZone Microservices

Micro-Frontend Architecture – DZone Microservices

January 4, 2022
The Quarry’s Online Multiplayer Mode Has Been Delayed

The Quarry’s Online Multiplayer Mode Has Been Delayed

May 28, 2022
Evil Dead: The Game Review – Not Very Groovy

Evil Dead: The Game Review – Not Very Groovy

May 27, 2022
Love the trinity lenses? Try these great alternatives instead!

Love the trinity lenses? Try these great alternatives instead!

May 27, 2022
Apple supplier lockdown: Quanta workers rebel

Apple supplier lockdown: Quanta workers rebel

May 27, 2022
Pokkén Tournament Won’t Be Supported Competitively After 2022 Championships

Pokkén Tournament Won’t Be Supported Competitively After 2022 Championships

May 27, 2022
Xmake and C/C++ Package Management

Xmake and C/C++ Package Management

May 27, 2022
More of PlayStation’s Biggest Games Are Becoming Movies, TV Shows – Beyond 751

More of PlayStation’s Biggest Games Are Becoming Movies, TV Shows – Beyond 751

May 27, 2022
Analogue Pocket’s Next Big Beta Update Will Roll Out In July

Analogue Pocket’s Next Big Beta Update Will Roll Out In July

May 27, 2022
Verizon downplays database hacked and held for ransom, security risk could remain

Verizon downplays database hacked and held for ransom, security risk could remain

May 27, 2022
Cover Reveal – Evil Dead: The Game

Enter For Your Chance To Win Game Informer Gold – Evil Dead: The Game Issue

May 27, 2022
Mario Strikers: Battle League Gets a Free Demo

Mario Strikers: Battle League Gets a Free Demo

May 27, 2022
Kao The Kangaroo Artist Talks Redesigning A Mascot For The Modern Age

Kao The Kangaroo Artist Talks Redesigning A Mascot For The Modern Age

May 27, 2022
Advertise with us
Saturday, May 28, 2022
Bookmarks
  • Login
  • Register
GetUpdated
  • Home
  • Game Updates
    • Mobile Gaming
    • Playstation News
    • Xbox News
    • Switch News
    • MMORPG
    • Game News
    • IGN
    • Retro Gaming
  • Tech News
    • Apple Updates
    • Jailbreak News
    • Mobile News
  • Software Development
  • Photography
  • Contact
    • Advertise With Us
    • About
No Result
View All Result
GetUpdated
No Result
View All Result
GetUpdated
No Result
View All Result
ADVERTISEMENT

Micro-Frontend Architecture – DZone Microservices

January 4, 2022
in Software Development
Reading Time:4 mins read
0 0
0
Share on FacebookShare on WhatsAppShare on Twitter


What Is a Micro-Frontend Architecture?

The micro-frontend architecture is a type of design applied to the frontend that allows us to divide it 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.

The goal of this architecture is to see web applications as a composition of functionalities where each one is worked by independent teams. Each team has a specific business area and development is done end-to-end, from the database to the user interface.

However, this idea is not something new, this concept appeared around 2016, but before this type of architecture was already used and it was called “Frontend integration for vertical systems” or “Self-contained systems.” Undoubtedly, micro-frontends have the ability to be more “trendy.”

In the following image, you can see different structures where the frontend is always monolithic.

Comparison of Different Architecture Structures

In this other image, you can see a vertical structure where the frontend is not monolithic.

Micro-Frontends and Microservices

Key Concepts

Behind this architecture, there are some key concepts on which this concept is based and which must be applied to take them into account. These are explained below.

  • Technological independence: Each team can have different technological stacks without depending on each other.
  • Separation of teams: This point is more related to the work methodology. It allows you to have a more specific focus on each team and to be able to make more specific and detailed management directed to the objective.
  • Team nomenclatures: There are certain resources that must be shared between teams and each team must have a specific nomenclature to avoid mixing resources.
  • Resilient web design: Each team will work in an isolated section of the system and this will help to solve problems faster and be adaptive.
  • Use native browser events: The best option is to use native browser events that allow communication between teams, in case this is not enough I will try to keep a common API as basic as possible.

4 Best Practices For Micro-Frontend Architecture

In the world of micro-frontends, there are also good practices and it is necessary to apply them so that the result has the expected quality. Here are some of the best practices that should be applied when using a micro-frontend architecture.

1. Flow Organization

As mentioned in the previous section, this architecture allows us to have different teams independent of each other. Just for this reason, we have to take into account that each team has different objectives and challenges that have to be agreed upon between all of them. In order to achieve all these objectives, it is very important that the contracts between all parties and the API are very well defined so that communication is as fluid as possible.

This way your team will be able to move independently to achieve its objectives.

It is also important to be able to deliver in a modular way. If your business requirements prevent you from doing so, it means that this architecture does not suit your organization, which is monolithic.

2. Automation

Automation is important in all systems but in micro-frontends, it is vital, because if you don’t have good automation you can create blockages with certain functionalities.

Test automation is very important because it ensures the compatibility of a micro-frontend with the other components of the system and that at the time of integration with production it will work without problems.

3. Don’t Overuse Micro-Frontends

If you fragment your system too much, it is very likely that in the end you will be left with fragments that do not add value to your objective. It is important that there is a reason why the system is divided, for example, the way in which the deployment is done or the strategy that each part follows. If you overuse this architecture, in the end, it is meaningless.

4. Finding the Right Size for Your Micro-Frontend

The way to find the perfect size for your micro-frontend is similar to the one used in microservices, because if it is too big your application will have too much coupling and if they are too small you will have a fragmented application.

Unfortunately, there is no golden rule for making this division. However, it is important to remember that each business purpose must be isolated.

The best way is to decide your division in advance so that you can plan all the contracts and the interaction between all the parts before you start.

Wrap Up

In the end, it depends a lot on the business case you are facing to know if it will be worth using this architecture or not. This architecture is not valid for small teams or small projects. Mostly, it is applied in large projects with different distributed teams and with a large infrastructure. For this reason, this system is used by the largest companies, since they are the ones that get the most out of it.

Some of these companies are Ikea, DAZN, Spotify, Zalando, and many others.

I hope you have learned about this architecture that is undoubtedly already the presence of large corporations and is marking the way of working.

If you need help with Frontend Architecture, let me know!



Source link

ShareSendTweet
Previous Post

Marques Brownlee MKBHD scammer's | Location IP Money mule scam info exposed | educational video only

Next Post

OnePlus 10 Pro teasers confirm January 11 launch, design

Related Posts

Xmake and C/C++ Package Management

May 27, 2022
0
0
Xmake and C/C++ Package Management
Software Development

Xmake is a lightweight cross-platform build tool based on Lua. A previous article provides a detailed introduction to Xmake and...

Read more

What Is Smoke Testing? – A Brief Guide

May 27, 2022
0
0
What Is Smoke Testing? – A Brief Guide
Software Development

Smoke testing is a method of determining whether a newly released build is stable. It assists a QA or testing...

Read more
Next Post
OnePlus 10 Pro teasers confirm January 11 launch, design

OnePlus 10 Pro teasers confirm January 11 launch, design

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

© 2021 GetUpdated – MW.

  • About
  • Advertise
  • Privacy & Policy
  • Terms & Conditions
  • Contact

No Result
View All Result
  • Home
  • Game Updates
    • Mobile Gaming
    • Playstation News
    • Xbox News
    • Switch News
    • MMORPG
    • Game News
    • IGN
    • Retro Gaming
  • Tech News
    • Apple Updates
    • Jailbreak News
    • Mobile News
  • Software Development
  • Photography
  • Contact
    • Advertise With Us
    • About

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?