ember.js - Architect admin interface for single page app -
i have single page app built emberjs rails backend. common pattern build admin interface on rails serverside on subdomain. right approach this?
your question vague try answer best. have done node , go backend combined ember.js.
no, there technically nothing prevent doing single page application admin interface.
rails choice this, , should stick backend framework/language , team master most.
as right approach, there no magic recipes. document code, write test , follow best practices tools using.
one key element though communication between frontend , backend. ember chose follow json api specification (http://jsonapi.org/) , comes out of box adapter talk these kind of api. using such adapter save lot of time. here implementation of json api ruby : http://jsonapi.org/implementations/#server-libraries-ruby
one more thing frontend code structure. haven't how big app be. if gets big, may want take pod
approach in ember-cli (http://ember-cli.com/user-guide/#pod-structure). changes structure of code it's easier maintain lot of files.