Ember.js & REST API

前端 未结 4 579
Happy的楠姐
Happy的楠姐 2021-02-02 11:38

From all the various examples of Ember.js, I have not been able to figure out if there is a default method in Ember.js to do REST AJAX calls. Many examples build their own inter

4条回答
  •  没有蜡笔的小新
    2021-02-02 12:10

    [2014-02-18: Deprecated - I no longer support ember-rest because it is overly simplistic, and would recommend using ember-data for most ember projects. Check out the Ember guides for an overview of ember-data as well as this example project ]

    While learning Ember, I decided to create a very simple Ember REST library. I also wrote an example Rails CRUD app.

    My goals were to keep this project as simple as possible, while still including error handling and validation. Ember REST is certainly much leaner than Ember Data and Ember Resource, and I hope you'll find the code well commented and accessible.

提交回复
热议问题