Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Micro Frontends in Action: How many approaches?

 
Ranch Hand
Posts: 100
1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Michael Geers,

How many approaches do you promote to accomplish the rendering of the micro-applications?
I can think of Ajax + container elements like DIV.
 
Author
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can group the integration solutions into two camps: client- & server-side composition.
With server-rendered applications you can use traditional techniques like server-side includes (SSI), ESI or use a dedicated service (podium, zalando tailor, ara framework) that concatenates your HTML.
For client-side composition AJAX or Web Components are the most often used techniques. There are also library (like single-spa) that provide a custom way of (de-)initialising the individual micro frontends.
In some cases it might even make sense to leverage the good old iframe.
 
Jorge Ruiz-Aquino
Ranch Hand
Posts: 100
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I was surprised to see a topic about iframes in your book. Seems to be more like why not to use it though  

I have not hear before about the services you mention (podium, zalando tailor). I'll check them out.

Thank you!
reply
    Bookmark Topic Watch Topic
  • New Topic