Hi ember community!
Our team is thinking about switching over to Ember from Angular. We currently have a very large .NET application that we are trying to modernize. In an initial attempt to rewrite this very large application, we chose to slowly take over portions of it by creating many small angular apps and embedding them in the views of the .NET application.
Although this method has satisfied our business requirements, the decision to have many separate angular apps and repos has lead to many problems that impede development. Over time we’ve seen each angular app diverge in test and build processes; having separate repos for each app has also made code reuse more difficult.
We were hoping to use Ember 2.0 and the included ember-cli to solve some of these difficulties.
Our approach to this problem is to develop a container Ember app that mirrors the .NET application with smaller nested Ember apps inside.
Is there a way to have a container Ember app with Ember applications nested inside that preserves the url routing mechanism?
I’ve talked to another Ember developer in a similar situations. He solved it by using iframes to nest ember apps in another ember app. This approach sounds ok, except the nested ember app cannot change the url because it is in an iframe.
I’ve also read that this may be possible with either git submodules, bower includes, or ember addons. Does anyone here have experience doing that?
If it is not possible to nest an ember app in another, is it possible to create distribution package that is a smaller self contained portion of a larger Ember app? (I would prefer this method, as everything, including common shared components would be in the same repo).
TL;DR
Can I include an ember app inside another ember app while preserving url routes?
Can I have a mega ember app and during the distribution process, build a self contained and self sufficient portion of it?