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
32
Functional Ember
tchak
0
270
HTTP
tchak
3
180
Ember Data REBOOT
tchak
0
120
Ember Data: (Advanced) Patterns
tchak
2
210
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
使ってみよう Azure AI Document Intelligence
kosmosebi
2
370
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
4
410
Snowflakeで眠ったデータを起こそう!
estie
0
150
業務ツールとして使うPostman
msys75
0
110
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
180
Fast JSX: Don't clone props object #28768
yossydev
1
200
R言語の環境構築と基礎 Tokyo.R 112
bob3bob3
0
280
SIMD Parallel Programming with the Vector API
josepaumard
0
240
雑に思考を整理する技術と効能
konifar
64
30k
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
170
Hanami and htmx
bkuhlmann
0
230
Domain-Driven Transformation
hschwentner
2
1.5k
Featured
See All Featured
Creatively Recalculating Your Daily Design Routine
revolveconf
211
11k
Building Your Own Lightsaber
phodgson
100
5.7k
Designing with Data
zakiwarfel
96
4.8k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
22
1.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
34
6k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2k
Happy Clients
brianwarren
92
6.4k
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
14
8.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
244
12k
For a Future-Friendly Web
brad_frost
172
9k
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 ?