Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Ember Data
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Paul Chavard
May 30, 2012
Programming
860
11
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ember Data
Paul Chavard
May 30, 2012
Transcript
21 slides
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 ?
More Decks by Paul Chavard
See All by Paul Chavard
Le Tour du monde en quatre-vingts jours
tchak
1
65
Functional Ember
tchak
0
300
HTTP
tchak
3
210
Ember Data REBOOT
tchak
0
170
Ember Data: (Advanced) Patterns
tchak
2
260
EmberJS Introduction
tchak
1
210
From SproutCore to Ember
tchak
2
270
Ember.js
tchak
10
1.6k
Other Decks in Programming
See All in Programming
SODA - FACT BOOK(JP)
sodainc
1
40k
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
110
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
260
Next.js: The final boss of Web Performance
guaca
0
400
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
130
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
130
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
AI Augmentation Techniques with Liberty
ivargrimstad
1
470
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
310
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.5k
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
180
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
5.9k
Featured
See All Featured
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
610
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
The Limits of Empathy - UXLibs8
cassininazir
2
780
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
750
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Leo the Paperboy
mayatellez
11
2.5k
My Coaching Mixtape
mlcsv
0
390
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
980
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
3.9k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k