The ember cli 101 book is solid and gets regular updates as ember changes. It doesnāt really cover rails much, but the backend for the app that you build in the book is rails. It talks a little about using the right ember data adapter for active model serializers and touches on how to deploy with rails if youāre serving the ember assets to rails from amazon. Itās pretty neat.
I havenāt used it yet, but ember-cli-rails looks like an easy way to manage an ember app inside rails. Thereās another book called rocknroll with ember, or something like that, that uses a sinatra backend, but I havenāt read that one.
Man, I bought all these ember books but have to use angular at work. ug
yeah it does a nested friends/:id/articles/:id thing.
itās a good book, my only issue is that the testing stuff is very sparse and it doesnāt cover auth. i have yet to find any good ember testing material.
Has creating Rails APIās made the trials list yet?
To be more specific Iām looking for good authentication tutorials / advice that doesnāt use Devise. It seems most API tutorials completely skip authentication & authorizationā¦ even Thoughtbots āiOS on railsā book glosses over the subject.
@scott I wrote a series of blog posts on deploying an ember-cli application with a rails backend using Heroku for the Rails side and divshot for ember-cli. Hereās the first one.
itās devise and itās angular, but the devise token auth readme has a good overview on secure api auth. The conceptual and security sections are probably the most interesting/relevant.
@MattMSumner nice blog post :), I will try and go through the trail today, I have found that Ember has a much steeper learning curve. Have you done anything other than github authentication in Ember?
This is my preference, but I think diving into open source projects is the best way to quickly learn new frameworks. My initial problem with learning Ember was that most of the examples/tutorials were trivial, and some of the first projects (i.e. Discourse and Balanced) were too complex to wrap my head around.
I highly recommend taking a look at Ghost as it is a simple enough domain to get into your head, but is also more substantial than a todo list.
Also, make sure you have the Ember Inspector. I cannot overstate how essential it is for overcoming the initial learning curve.
The ember cli 101 book is the best one on the subject, I have been creating production applications with ember for some time now. I think that coming from rails it should be very straight forward. I think that because I am learning ruby and rails and I can see the similarities. The best way to learn is using ember cli and localstorage for creating a simple app, understan routes and models, create components, etc