I’m looking for a backend in PHP to serve my EMBER-DATA , my choise is https://github.com/alixaxel/ArrestDB , but it 's not 100% compatible ember data. so , i’m working to adapte it .
The question is : the URL sending by ember data is :
api/posts api/posts/1 api/posts/1/comments api/posts/1/comments/2,3
how can i give the good json response format , because if you have belongsTo , the json response was differente to hasMany …