Architecture POC

What do we want to achieve

  • Divide CMS to different apps, to make possible work on them different teams
  • Have consistent Header and Event switcher UI across all applications
  • Make single authentication point to all applications, without code duplication

Wrapper

Header

Event Switcher

Authentification logic

#container

CMS

EP

Onboarding

CSS, HTML

CSS, HTML

CSS, HTML

switchAppOnLocation()

/#/onboarding/7c473235-3e07-4f78-aacd-785b108dd345

changes app

changes event

Limitation for apps

Isolate own styles

Prevent app run on the different app in location

Keep tracking all listeners, so on Exit of app we can easily destroy them

Bootstrap application from JS code

Forget about document and window

Made with Slides.com