Isolated apps on top of main page : javascript



I’m trying solve following problem:
I have a main page (you could think it as a platform) and on top of it should be multiple apps simultaneously. Every app should be isolated from each other to make sure that namespaces does not mixup and apps does not break each other (or main page).

I could use <iframe> element to wrap app so that namespace does not leak but do you know if there is better solution for this?

قالب وردپرس