Finally...and thank you!


#1

Ok so I posted on here about a month about getting my PHP API to hook up to Ember and I must say that it was a challenge for the longest time so much that I almost gave up on it after Cors errors, Adapters, and Deprecations from using Ember 2.

Today I finally got it to work after reading a couple Ember books and some advice from some members on this board. Anyway, I really just wanted to thank all of you who gave me top knotch advice.

So now with Ember 2 do I need to start using the JSONAPIAdapter instead of RESTAdapter?


#2

Yes. Going forward Ember has adopted the JSONAPI as default.

Also, I feel your pain… I was really banging my head over that stuff and now I think it’s clicked… but yeah…

PS, did you read this? http://emberigniter.com/fit-any-backend-into-ember-custom-adapters-serializers/


#3

So now with Ember 2 do I need to start using the JSONAPIAdapter instead of RESTAdapter?

You don’t have to - the RESTAdapter won’t be deprecated for a long while, because plenty of languages/frameworks/existing APIs aren’t easily moved to a JSONAPI representation.