Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Ember Data
Search
Paul Chavard
May 30, 2012
Programming
11
810
Ember Data
Paul Chavard
May 30, 2012
Tweet
Share
More Decks by Paul Chavard
See All by Paul Chavard
Le Tour du monde en quatre-vingts jours
tchak
1
34
Functional Ember
tchak
0
280
HTTP
tchak
3
190
Ember Data REBOOT
tchak
0
130
Ember Data: (Advanced) Patterns
tchak
2
230
EmberJS Introduction
tchak
1
190
From SproutCore to Ember
tchak
2
240
Ember.js
tchak
11
1.6k
Other Decks in Programming
See All in Programming
Ruby's Line Breaks
yui_knk
4
2.8k
eBPF超入門「o11yに使える」とは (20250424_eBPF_o11y)
thousanda
1
110
Rubyの!メソッドをちゃんと理解する
alstrocrack
1
120
実践Webフロントパフォーマンスチューニング
cp20
45
10k
The Implementations of Advanced LR Parser Algorithm
junk0612
2
1.3k
M5UnitUnified 最新動向 2025/05
gob
0
130
ComposeでWebアプリを作る技術
tbsten
0
130
REALITY コマンド作成チュートリアル
nishiuriraku
0
120
Designing Your Organization's Test Pyramid ( #scrumniigata )
teyamagu
PRO
4
380
カオスに立ち向かう小規模チームの装備の選択〜フルスタックTSという装備の強み _ 弱み〜/Choosing equipment for a small team facing chaos ~ Strengths and weaknesses of full-stack TS~
bitkey
1
130
Enterprise Web App. Development (1): Build Tool Training Ver. 5
knakagawa
1
120
Fiber Scheduler vs. General-Purpose Parallel Client
hayaokimura
1
300
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
137
6.9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.2k
The World Runs on Bad Software
bkeepers
PRO
68
11k
The Invisible Side of Design
smashingmag
299
50k
Adopting Sorbet at Scale
ufuk
76
9.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Unsuck your backbone
ammeep
671
57k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.2k
Transcript
Ember Data
Paul Chavard capitainetrain.com
Capitaine Train recrute!
ALPHA !
DS.Store
✓ 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) {})
DS.Model
✓ App.Person = DS.Model.create() ✓ DS.attr(“string”) ✓ DS.attr(“number”) ✓ DS.attr(“boolean”)
✓ DS.attr(“date”)
✓ DS.hasMany(“App.Person”) ✓ DS.belongsTo(“App.Person”) ✓ DS.hasMany(“App.Person”, {embedded: true})
✓ record = App.Person.createRecord({name: “Paul”}) ✓ record.set(“name”, “Paul Chavard”) ✓
record.incrementProperty(“age”) ✓ record.deleteRecord()
DS.Transaction
✓ transaction = store.transaction() ✓ transaction.add(record) ✓ transaction.rollback() ✓ transaction.commit()
DS.Adapter
✓ adapter.find(store, type, id) ✓ adapter.findAll(store, type) ✓ adapter.createRecord(store, type,
record) ✓ adapter.updateRecord(store, type, record) ✓ adapter.deleteRecord(store, type, record)
DS.RESTAdapter
Active Model Serializers github.com/josevalim/active_model_serializers
Demo gist.github.com/2835387 github.com/tchak/colors-demo colors-demo.herokuapp.com
Ember Meetup www.meetup.com/EmberJS-Paris
twitter @emberjs github @emberjs IRC #emberjs emberjs.org
twitter @tchak13 github @tchak talks.tchak.net
thanks ! questions ?