Rendering Backbone views from Ember's router

We have a pretty large single-page Backbone app that reports data in (near) realtime. We are now developing a new app in Ember, and now are doing some heavy maintenance on the old one. We’ve talked about doing a full rewrite eventually, but as we all know, that is a huge black hole. It would be far better to find a way to gradually evolve this code.

Is there any reason we couldn’t render our Backbone views from the Ember router? I know we’ll have trouble using Ember helpers like linkTo, but I think we could just link directly to # urls for the time-being.

Thanks!

This is a really odd question. You could possibly use a custom view and the render method like http://eviltrout.com/2013/04/01/adding-to-discourse-part-3.html does. I’m not sure if that would work, but it seems worth a shot.

You could start building your ember portion of the app inside an iframe, I would keep the libraries separate and and change functionality in pieces of your application then eventually replace everything.