Win a copy of Terraform in Action this week in the Cloud 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Micro Frontends in Action: How many approaches?

 
Ranch Hand
Posts: 109
1
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 109
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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