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
From SproutCore to Ember
Search
Paul Chavard
June 29, 2012
Programming
2
240
From SproutCore to Ember
Paul Chavard
June 29, 2012
Tweet
Share
More Decks by Paul Chavard
See All by Paul Chavard
Le Tour du monde en quatre-vingts jours
tchak
1
32
Functional Ember
tchak
0
270
HTTP
tchak
3
180
Ember Data REBOOT
tchak
0
120
Ember Data: (Advanced) Patterns
tchak
2
210
EmberJS Introduction
tchak
1
190
Ember Data
tchak
11
810
Ember.js
tchak
11
1.6k
Other Decks in Programming
See All in Programming
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
180
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
200
雑に思考を整理する技術と効能
konifar
64
30k
Next.js App Router
quramy
12
1.9k
Snowflakeで眠ったデータを起こそう!
estie
0
150
Node.js v22 で変わること
yosuke_furukawa
PRO
12
4k
Native Federation: The Future of Micro Frontends in Angular
manfredsteyer
PRO
0
110
AmperとFleetを使ったAndroidアプリ
yoppie
0
260
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
1.1k
PostmanでAPIの動作確認が楽になった話
h455h1
0
180
Three ways to use AI on Android: The Good, the Bad and the Ugly
marxallski
0
110
PHPはいつから死んでいるかの調査
chiroruxx
2
420
Featured
See All Featured
Making Projects Easy
brettharned
109
5.5k
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2k
What's new in Ruby 2.0
geeforr
337
31k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
242
1.2M
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.4k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Creatively Recalculating Your Daily Design Routine
revolveconf
211
11k
Making the Leap to Tech Lead
cromwellryan
125
8.5k
GitHub's CSS Performance
jonrohan
1025
450k
It's Worth the Effort
3n
180
27k
Code Review Best Practice
trishagee
56
15k
Designing for Performance
lara
601
67k
Transcript
From SproutCore to Ember.js
Paul Chavard capitainetrain.com
2007 - SproutIt 2008 - Apple 2010 - Strobe 2012
- Tilde
Widget Library
✓ SC.ButtonView ✓ SC.SelectView ✓ SC.PanelView ✓ SC.SplitView
Structural Library
✓ DS.Model ✓ Ember.View ✓ Ember.Controller ✓ Ember.Router
Singletons
✓ App.postsController = SC.ArrayController.create() ✓ App.postController = SC.ObjectController.create() ✓ App.store
= SC.Store.create() ✓ App.stateChart = SC.StateChart.create()
Shared instances
✓ App.PostsController = Ember.ArrayController.extend() ✓ App.PostController = Ember.ObjectController.extend() ✓ App.Store
= DS.Store.extend() ✓ App.Router = Ember.Router.extend() ✓ App.initialize()
✓ App.router.postsController ✓ App.router.postController ✓ App.router.store
Router
✓ The truth is not in the URL ✓ URL
change is a “side-effect” of changing state ✓ Simple interface for actual url manipulation
Outlets
Controller View Model
Demo github.com/tchak/ember-blog-app
twitter @emberjs github @emberjs IRC #emberjs emberjs.org
twitter @tchak13 github @tchak talks.tchak.net
thanks ! questions ?