Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ember Data

Ember Data

Paul Chavard

May 30, 2012
Tweet

More Decks by Paul Chavard

Other Decks in Programming

Transcript

  1. ✓ store = DS.Store.create() ✓ store.createRecord(App.Person) ✓ store.find(App.Person, 42) ✓

    store.findAll(App.Person) ✓ store.findQuery(App.Person, {name: ‘Paul’}) ✓ store.filter(App.Person, function(data) {})
  2. ✓ adapter.find(store, type, id) ✓ adapter.findAll(store, type) ✓ adapter.createRecord(store, type,

    record) ✓ adapter.updateRecord(store, type, record) ✓ adapter.deleteRecord(store, type, record)