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
85
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
Inside of Swift Export
giginet
PRO
1
430
Introducing RemoteCompose: break your UI out of the app sandbox.
camaelon
2
470
開発組織の戦略的な役割と 設計スキル向上の効果
masuda220
PRO
10
2.1k
Vue 3.6 時代のリアクティビティ最前線 〜Vapor/alien-signals の実践とパフォーマンス最適化〜
hiranuma
2
390
三者三様 宣言的UI
kkagurazaka
0
350
CSC305 Lecture 12
javiergs
PRO
0
250
GC25 Recap: The Code You Reviewed is Not the Code You Built / #newt_gophercon_tour
mazrean
0
150
問題の見方を変える「システム思考」超入門
panda_program
0
150
Making Angular Apps Smarter with Generative AI: Local and Offline-capable
christianliebel
PRO
0
110
フロントエンド開発のためのブラウザ組み込みAI入門
masashi
7
3.7k
Kotlinで実装するCPU/GPU 「協調的」パフォーマンス管理
matuyuhi
0
280
GitHub Copilotを使いこなせ!/mastering_github_copilot!
kotakageyama
2
780
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1371
200k
It's Worth the Effort
3n
187
28k
Why Our Code Smells
bkeepers
PRO
340
57k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Unsuck your backbone
ammeep
671
58k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
192
56k
Product Roadmaps are Hard
iamctodd
PRO
55
11k
The World Runs on Bad Software
bkeepers
PRO
72
11k
Context Engineering - Making Every Token Count
addyosmani
8
340
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.7k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8k
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