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.js in 10 Minutes
Search
patr1ck
April 19, 2012
Programming
960
11
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ember.js in 10 Minutes
patr1ck
April 19, 2012
More Decks by patr1ck
See All by patr1ck
Fast Image Manipulation
patr1ck
2
530
Other Decks in Programming
See All in Programming
テストを司るデーモンに会いに行く 〜隔離した仮想マシンでテストを通すまで〜
h1d3mun3
1
570
setup-vp GitLab対応の裏側
naokihaba
0
120
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
200
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
320
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
210
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
500
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
170
GitHubハンズオン講座 — 実務レベルのチーム開発のフローを身につけよう
junhat6
0
110
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
300
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
170
[GoCon2026] When Goroutines Are Not Enough: Runtime Locality in High-Throughput Go
takehaya
6
2.5k
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
520
Featured
See All Featured
For a Future-Friendly Web
brad_frost
183
10k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
500
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
4 Signs Your Business is Dying
shpigford
187
23k
Google's AI Overviews - The New Search
badams
0
1.6k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
440
Become a Pro
speakerdeck
PRO
31
6.3k
Test your architecture with Archunit
thirion
2
2.4k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
730
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
720
Transcript
A framework for creating ambitious web applications EMBER.JS IN 10
MINUTES
WHAT IS EMBER.JS? ARCHITECTURE- ORIENTED STRONG LINEAGE AMBITIOUS MVC
▪ Object model ▪ Computed properties ▪ Data bindings ▪
Data-bound templates ▪ Write less code! EMBER.JS FEATURES.
App.Person = Ember.Object.extend({ firstName: null, lastName: null }); App.Student =
App.Person.extend({ graduationYear: null }); OBJECT MODEL.
App.Student = App.Person.extend({ graduationYear: null }); var patrick = App.Student.create({
firstName: 'Patrick' lastName: 'Gibson' graduationYear: 2015 }); patrick.get('graduationYear'); // => 2015 patrick.set('graduationYear', 2016); OBJECT MODEL.
App.Student = Ember.Person.extend({ grades: null, gradeAverage: function() { var grades
= this.get('grades'); var total = grades.reduce(function(val, i){ return val + i; }); return total/grades.get('length'); }.property('grades.@each') }); var patrick = App.Student.create({ grades: [83, 76, 97, 60] }); patrick.get('gradeAverage'); // => 79 COMPUTED PROPERTIES.
App.school = Ember.Object.create({ city: "Embertown", schoolName: function() { var city
= this.get('city') return "University of %@".fmt(city); }.property('city') }); App.Student.extend({ attendingSchoolBinding: 'App.school.schoolName' }); patrick.get('attendingSchool') // => "University of Embertown" DATA BINDINGS.
... same javascript as before ... <script type="text/x-handlebars" > {{App.patrick.gradeAverage}}
</script> DATA-BOUND TEMPLATES.
▪ Primitives provide structure for large applications ▪ Convention over
con guration ▪ Big companies on board: Square, ZenDesk, R&D at major education companies, etc. ▪ ember-data makes it easy to persist data ▪ ember-rails makes getting started easy ▪ Optimized for developer happiness WRAP UP.
THANK YOU.
@PATR1CK AND @TOMDALE @EMBERJS EMBERJS.COM GITHUB.COM/EMBERJS IRC #EMBERJS