ember-rails icon indicating copy to clipboard operation
ember-rails copied to clipboard

Document loading ember application on specific controller/view/page of legacy rails project

Open eccegordo opened this issue 11 years ago • 1 comments

The SPA (Single Page Application) all or nothing approach seems a little problematic. Especially for legacy rails apps that just want to get started with using ember in part of their application. Would be nice to provide users with a gentle way to dip their toe into ember development.

To this end it would be helpful to create a generator and/or better document how to use the rootElement property inside projects. And provide convenient mechanism/pattern to load ember project code in a specific part of a larger rails application.

Here is a high level gist

https://gist.github.com/eccegordo/7277817

If this was a generator it might also dovetail well with the pattern of creating multiple ember applications within a largish rails project.

I will post a stripped down example app, as soon as I can.

eccegordo avatar Nov 02 '13 11:11 eccegordo

+1

simonweil avatar Dec 16 '13 17:12 simonweil