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
Introduction to Ember.js
Search
simplabs
January 14, 2016
Programming
0
86
Introduction to Ember.js
This talk gives an introduction to Ember.js
simplabs
January 14, 2016
Tweet
Share
Other Decks in Programming
See All in Programming
AI巻き込み型コードレビューのススメ
nealle
1
150
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
190
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
Oxlintはいいぞ
yug1224
5
1.3k
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
270
CSC307 Lecture 04
javiergs
PRO
0
660
dchart: charts from deck markup
ajstarks
3
990
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
110
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
160
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1k
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
170
Building AI with AI
inesmontani
PRO
1
690
Abbi's Birthday
coloredviolet
1
4.7k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.9k
A Soul's Torment
seathinner
5
2.2k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Faster Mobile Websites
deanohume
310
31k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Deep Space Network (abreviated)
tonyrice
0
47
Transcript
None
http://simplabs.com @simplabs
https://github.com/LevelbossMike @LevelbossMike
https://github.com/marcoow @marcoow
None
None
Ember History
None
SproutCore created in 2007 by Sproutit for their Mailroom app
Apple, Inc. Apple used SproutCore for the iCloud/ iWork web
services and contributed back
Strobe, Inc. In 2010 the creator of SproutCore left Apple
to found Strobe Inc.
SproutCore 2.0 was announced mid 2011 and was meant to
split the core from the UI widgets
Ember.js and Tilde when Strobe was acquired by Facebook, Yehuda
Katz an Tom Dale founded Tilde and continued SproutCore 2.0 as Ember.js
What is Ember.js?
"A framework for creating ambitious web applications."
Ember.js manages the complete application, not just the "V" in
"MVC"
Ember.js embraces HTML and CSS
Ember.js encodes the application state in the route
Parts of Ember.js
Ember.js the framework itself https://github.com/emberjs/ember.js
handlebars the templating language https://github.com/wycats/handlebars.js/
Ember Data the data persistence library https://github.com/emberjs/data
Ember CLI the command line interface https://github.com/ember-cli/ember-cli
Ember Inspector debugging tools for Chrome and Firefox https://github.com/emberjs/ember-inspector
None
BABEL transpiles ES2015 code to ES5 that runs in browsers
https://babeljs.io
Ember.js Core Concepts
None
None
Router maps URLs to Ember.js routes
None
Routes load models and render templates
None
Models represent persistent state
None
Templates generate HTML that's then rendered by the browser
None
Controllers implement logic that can be used in templates
None
Components combine a template and associated code as a reusable
UI element
None
Ember CLI http://ember-cli.com
Ember CLI is Ember.js' command line interface and build tool
it provides a standard project/directory structure
app !"" app.js !"" controllers # %"" songs.js !"" index.html
!"" models # %"" song.js !"" router.js !"" routes # %"" songs.js !"" styles # %"" app.css %"" templates !"" application.hbs !"" components # %"" song-tile.hbs %"" songs.hbs
Ember CLI also provides a command line utility for common
tasks
ember new <my-app> creates a new application
ember test runs the application's tests
ember serve starts the application
Demo https://github.com/simplabs/ember-workshop/tree/master/ tomster-player
Ember Users
Conventions project structure easy onboarding documentation
Framework "A framework for creating ambitious web applications."
Framework Solves the HardProblems™
Ecosystem Ember Ember-Data Ember-CLI Ember Inspector Ember Addons
Ember Addons bundle parts of an ember application possible to
extend ember-cli
Ember Addons emberaddons.com emberobserver.com
QA
http://simplabs.com @simplabs