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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
[GoCon2026] When Goroutines Are Not Enough: Runtime Locality in High-Throughput Go
takehaya
6
2.2k
Security issues being discussed on Web Platforms
petamoriken
0
940
変化を抱擁するドキュメントの作り方 - ビジネスルール駆動開発がもたらす、コードとの新しい関係
ioki
2
200
新人はどこまで自力でやり、どこからAIに頼るべきか/エンジニア育成に向き合う_先輩たちの悩みと知見共有会
toppan_digital_dev
1
620
Intent as Code
shoppingjaws
6
1k
thread_parallel_with_free-threaded_Python_and_NumPy.pdf
riku_sakamoto
0
330
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
110
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
120
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
3
550
スマートフォンでモールス信号を送受信する 〜スマートフォンのLEDとカメラで作る光通信の設計と実装〜
atsuki_seo
0
120
Family mrubyの進捗
kishima
1
120
新卒PdEのリアル
ryu1013
1
500
Featured
See All Featured
BBQ
matthewcrist
89
10k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Practical Orchestrator
shlominoach
192
12k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
850
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Skip the Path - Find Your Career Trail
mkilby
1
230
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
Bash Introduction
62gerente
615
220k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
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