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
820
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
38
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
250
Ember.js
tchak
10
1.6k
Other Decks in Programming
See All in Programming
Six and a half ridiculous things to do with Quarkus
hollycummins
0
220
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
200
AI時代に必須!状況言語化スキル / ai-context-verbalization
minodriven
2
120
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.2k
contribution to astral-sh/uv
shunsock
0
550
Developer Joy - The New Paradigm
hollycummins
1
370
Temporal Knowledge Graphで作る! 時間変化するナレッジを扱うAI Agentの世界
po3rin
1
170
Goで実践するドメイン駆動開発 AIと歩み始めた新規プロダクト開発の現在地
imkaoru
4
910
CSC305 Lecture 09
javiergs
PRO
0
320
SODA - FACT BOOK(JP)
sodainc
1
8.9k
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
3
980
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Takibiというライブラリを作っている
nakita628
0
330
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
The Cult of Friendly URLs
andyhume
79
6.6k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.2k
Six Lessons from altMBA
skipperchong
29
4k
Being A Developer After 40
akosma
91
590k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.7k
How to Ace a Technical Interview
jacobian
280
24k
Mobile First: as difficult as doing things right
swwweet
225
10k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
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 ?