of `ember new`. Yup. – Must figure out how to organize in e.g. Git, NPM. – How to approach seamlessness? • Reverse proxy to each app, e.g. – “/home/*” routes to “cdn.com/home/index.html” – “/checkout/*” routes to “cdn.com/checkout/index.html” • Outer app with persistent header/nav, iframe to each child app – What about iframe style? – What about parent browser vs. child iframe URLs?
of Tilde • A way to tell a parent Ember app to load a child Ember app (Engine) within a URL namespace – Only diffs with a real app • It doesn’t “boot” itself • It doesn’t control the router • Parent runs the child – Injects dependencies – Maps/deconflicts object names – Determines the static asset versions, e.g. Ember
single domain to multiple apps – Some Ember CLI, some Ember, some not Ember at all • Our desired UX is like apps on a smartphone; dotadiw • This makes URL rules simple, e.g. – /foo/* goes to summary dashboard app – /bar/* goes to alerting app – /baz/* goes to hunting app
is typical; build/test time way faster • Flexible with libraries and varying versions • Isolated tech debt • New prototypes are easy to deploy alongside
– Package versions – Universal CrowdStrike imports, initializers • No oversight to regularly extract duplicate code – Rule of 3 • User must re-download assets; FOUC unavoidable • New libraries and varying versions is flexible. But is it good?
lie to yourself it’s really gone away • Share common libraries in a separate build, to avoid re-download – Import in index.html, rather than let Ember CLI concat • Need a bigger team to continually… – Sync library versions – Extract duplicated code • Perhaps be more relaxed about Rule of 3
multiple Ember versions • However, this could be good discipline: – All prod engines run on Ember 2.1 – Prototype a new engine separately on e.g. Ember 2.2 – To merge to prod, must to do the work of upgrading all prod engines to 2.2