Micro frontends with Stacker
dev.betterdoc.org
dev.betterdoc.org
We ended up deciding that with the move to component based front end frameworks (react, storybook etc) that the overhead of this wasn't worth the benefits - every developer needs it running, along with lots of services etc.
I'd love to understand what others are thinking about composition on the front end these days. I guess the fact this just got created means that the problem we were trying to solve in 2014 still exists - so perhaps I have my answer?
https://en.wikipedia.org/wiki/Java_Portlet_Specification
https://www.infoworld.com/article/2073645/introducing-the-po...
Edit: Actually, given the timing, I was probably using JSR 286 Portlets 2.0 (2008).
I only speak for us at betterdoc -- we created Stacker in order to be able to create tools that can be stacked together like containers (the real ones used for shipping things) to form various workplaces. It enables us to mix and match tools without changing code - just by configuration - and we discovered that this is not just a theoretical option, but happens regularly.
The basic idea predates 2014 by far - one of the first things I have worked on back in 2006 was a portlet server (anybody remembering this?), and now we solve many of the problems we tried to solve back then, again, with a different approach and spin.
All I can say is that working on Stacker in the last years was fun, and developing services that serve micro front ends for it gets more fun and efficient with every small step we take.
Cannot wait to share more about the ideas behind it :)
It truly was a magical time in my life, before I had the opportunity to work with unix-like systems.
Once webpack 5 adds support for this, I see a lot more folks using it.
Like electron, the performance characteristics would continue to improve in the long term, but may never be as efficient as hand rolling bundles.
Super popular currently.
Best is to start here I think: https://medium.com/@ScriptedAlchemy/webpack-5-module-federat...
And the “official” doc: https://webpack.js.org/concepts/module-federation/
How will this win over autoscaled stateless web services?
https://medium.com/ringcentral-developers/web-apps-micro-fro...
After giving it a first, quick read it really looks like a lot of similar ideas are shared between Stacker and this framework.
Especially interesting for us is the separation between front ends on the client side, which I still, after all these years, find downright hostile if you need proper encapsulation of apps within one page.
Will take a deeper look!
Betterdoc.org website is in German. Hard to find info.
The web page is in german because we are serving german-speaking countries.