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.js
Search
xamenrax
April 04, 2013
Programming
2
260
Ember.js
test presentation
xamenrax
April 04, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
AWS CDKにおける「再利用性」を考える / aws-cdk-reusability
gotok365
6
1.3k
CSC307 Lecture 05
javiergs
PRO
0
210
みんなのオブザーバビリティプラットフォームを作ってるんだがパフォーマンスがやばい #mackerelio #srenext
ne_sachirou
0
370
CSC307 Lecture 09
javiergs
PRO
1
500
小さな開発会社を作った理由
polidog
0
1.9k
Microservices rules (July 2024) : what good looks like
cer
PRO
0
1.6k
【Go言語】golangci-lintの使い方
tomo1227
0
270
Namespace on read
tagomoris
2
370
Exploring the Gradually Lost Technical Skills in the Cloud Native Era
hwchiu
2
3.9k
最近追加した型の紹介とその振り返り
aki19035vc
0
170
Advanced App Shrinking Techniques
cbeyls
2
150
CSC307 Lecture 06
javiergs
PRO
0
360
Featured
See All Featured
Bash Introduction
62gerente
607
210k
Writing Fast Ruby
sferik
623
60k
Raft: Consensus for Rubyists
vanstee
134
6.5k
Building a Scalable Design System with Sketch
lauravandoore
458
32k
Designing for Performance
lara
604
67k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.8k
Code Reviewing Like a Champion
maltzj
517
39k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
121
18k
What’s in a name? Adding method to the madness
productmarketing
PRO
21
2.9k
Documentation Writing (for coders)
carmenintech
63
4.2k
Debugging Ruby Performance
tmm1
71
11k
Fireside Chat
paigeccino
25
2.8k
Transcript
None
• ◦ ◦ ◦ ◦ • ◦ ◦ ◦ ◦
• • • • •
App.Cat = Ember.Object.extend({ name: 'null', meow: function(thing) { alert(thing); }
}); App.Cat = DS.Model.extend({ name: DS.attr('string'), isSelected: DS.attr('boolean', {defaultValue: false}) }); App.Store = DS.Store.extend({ revision: 12 });
• • • •
App.Router.map(function() { this.resource('cats', function() { this.recourse('cat', { path: ':cat_id' };
}); }); App.CatsRoute = Ember.Route.extend({ model: function() { return App.Cat.find(); } }); App.CatRoute = Ember.Route.extend({ model: function(params) { return App.Cat.find(params.cat_id); } });
С • •
• •
None
•