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 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
初めての模倣学習とVLA
natsutan
0
260
バグを直したら useEffect が消えた
colorful12
3
700
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
440
Android CLI
fornewid
0
240
ALB ログから Trace を気合で繋げる技術
fohte
6
650
freeeにおけるEvalsの実践例の紹介
freee
PRO
0
150
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
370
不幸な GC
chencmd
0
750
My Marp Sample
sinoue0108
0
120
GDG Korea Android: 2026 I/O Extended ~ What's new in Android development tools
pluu
0
240
jsmini JavaScript Engine を作ってみた話
yosuke_furukawa
PRO
0
350
Go 1.27からのGODEBUG / Go 1.27 リリースパーティ #go127party
mazrean
0
220
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Crafting Experiences
bethany
1
260
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
410
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
The Curse of the Amulet
leimatthew05
2
14k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
710
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
630
Test your architecture with Archunit
thirion
2
2.4k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
480
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