Rails and Ember.js Integration Notes

After some attempts to use Backbone.js for a project, I decided to use Ember.js. It didn’t take a long time to learn it and to get what I needed working. Prior to this, I spent a lot of time learning Backbone.js because of all options, it’s most lightweight and flexible.

I found very few tutorials and books about Ember.js compared to Backbone.js but strangely, it was easier to learn (for me at least).

I have a few notes which are also published along with a test Rails application.

For now, I have about 2 minor improvements which are based on some “best practices.” I have more to share about this later.

Both Rails and Ember.js are great. There aren’t a lot of style guides about Rails and Ember.js. I found one but there aren’t a lot on that repo. I want to document what I find to be good practices. Probably would write about testing next time!

I hope someone would start a style guide of sorts. Currently I am still exploring Ember.js, Backbone.js and Angular.js. It starts to get confusing when you consider React.js as well. This React vs. Ember presentation may help you decide a bit. Honestly, just try everything and choose! That is what I do.