Imagine if you’d had a web product with a UI Web feature and you had wanted that UI Web feature into another independent web product .
How would you integrate different web UI features from one product to another?

Many companies spent time and
resources building complex artefacts and code refactor to be possible have an independent feature from one product into another.
Did you see something similar in any company?
I think there is a quick (dirty) Win which it could be done by IFrames!

“Iframes” allow to embed one external web page into another. Even it could be easily expose a special url to be be customised with a special UI style to give a different appearance.
This solution is the fastest way to see “integration” between web products features if the challenge is only to have one independent web UI feature inside of other product like the way we can embedded YouTube player into our website.
We know this solution has limitations but at least with it will have a quick win to show a first version of this “integration” instead to invest much resources building a complex version as a first try of “integration”.
This approach is used for big companies such as YouTube or Spotify to integrate for example the web player into external web pages .


We know there are other better options like build web components which could be done but it will require more time and resources.
From my point of view there are other worst solutions where I won’t recommend like building complex custom artefacts that generates Web UI components (html + js ) in every request where it will required retrieve the stored ( html + js ) from the database to build a web component UI to be returned.
- What do you think about it this approach of use Iframes?
- Which option do you use it or know?
Please share with me your opinion and experience about this topic in the comments of this article or via this Twitter thread.
Imagine if you'd had a web product with a UI Web feature and you had wanted that UI Web feature into another web independent product .
How would you integrate different web UI features from one product to another?
— Jesús Estévez (@jecaestevez) March 4, 2018

