Suche senden
Hochladen
Stop Ember Time
•
0 gefällt mir
•
1,654 views
C
cjwoodward
Folgen
Technologie
Melden
Teilen
Melden
Teilen
1 von 51
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Go-Couchbase Golang Paris 2015/12/17
Go-Couchbase Golang Paris 2015/12/17
Edouard Buschini
3rd meetup - Intro to Amazon EMR
3rd meetup - Intro to Amazon EMR
Faizan Javed
Optimizing Laravel for Production
Optimizing Laravel for Production
Krisna Fathurahman
"Service Worker: Let Your Web App Feel Like a Native "
"Service Worker: Let Your Web App Feel Like a Native "
FDConf
Introduction to WordPress Development - Hooks
Introduction to WordPress Development - Hooks
Edmund Chan
Introducing to node.js
Introducing to node.js
JeongHun Byeon
NodeJS @ ACS
NodeJS @ ACS
Mauro Parra-Miranda
Build your website with awestruct and publish it on the cloud with git
Build your website with awestruct and publish it on the cloud with git
Xavier Coulon
Empfohlen
Go-Couchbase Golang Paris 2015/12/17
Go-Couchbase Golang Paris 2015/12/17
Edouard Buschini
3rd meetup - Intro to Amazon EMR
3rd meetup - Intro to Amazon EMR
Faizan Javed
Optimizing Laravel for Production
Optimizing Laravel for Production
Krisna Fathurahman
"Service Worker: Let Your Web App Feel Like a Native "
"Service Worker: Let Your Web App Feel Like a Native "
FDConf
Introduction to WordPress Development - Hooks
Introduction to WordPress Development - Hooks
Edmund Chan
Introducing to node.js
Introducing to node.js
JeongHun Byeon
NodeJS @ ACS
NodeJS @ ACS
Mauro Parra-Miranda
Build your website with awestruct and publish it on the cloud with git
Build your website with awestruct and publish it on the cloud with git
Xavier Coulon
Future Decoded - Node.js per sviluppatori .NET
Future Decoded - Node.js per sviluppatori .NET
Gianluca Carucci
倒计时优化点滴
倒计时优化点滴
j5726
Baking in the cloud with packer and puppet
Baking in the cloud with packer and puppet
Alan Parkinson
s3_website
s3_website
Yuto Ogi
N:1 Replication meets MHA
N:1 Replication meets MHA
do_aki
Backbonejs on Rails
Backbonejs on Rails
Luis Alfredo Porras Páez
An introduction to Ember.js
An introduction to Ember.js
codeofficer
Backbone intro
Backbone intro
Ian Yang
Dependency Injection @ AngularJS
Dependency Injection @ AngularJS
Ran Mizrahi
Backbone
Backbone
Glenn De Backer
case3h231diamond.gifcase3h231energy.jpgcase3h231moder.docx
case3h231diamond.gifcase3h231energy.jpgcase3h231moder.docx
tidwellveronique
Securing Client Side Data
Securing Client Side Data
Grgur Grisogono
Intro tobackbone
Intro tobackbone
Bijan Eghtesadi
Backbone
Backbone
Ynon Perek
spring3.2 java config Servler3
spring3.2 java config Servler3
YongHyuk Lee
AngularJS Tips&Tricks
AngularJS Tips&Tricks
Petr Bela
Customizer-ing Theme Options: A Visual Playground
Customizer-ing Theme Options: A Visual Playground
DrewAPicture
Single Page Web Applications with CoffeeScript, Backbone and Jasmine
Single Page Web Applications with CoffeeScript, Backbone and Jasmine
Paulo Ragonha
Simpan data- ke- database
Simpan data- ke- database
Tri Sugihartono
Puppet and AWS: Getting the best of both worlds
Puppet and AWS: Getting the best of both worlds
Puppet
I Phone On Rails
I Phone On Rails
John Wilker
F[4]
F[4]
percy briones velasques
Weitere ähnliche Inhalte
Was ist angesagt?
Future Decoded - Node.js per sviluppatori .NET
Future Decoded - Node.js per sviluppatori .NET
Gianluca Carucci
倒计时优化点滴
倒计时优化点滴
j5726
Baking in the cloud with packer and puppet
Baking in the cloud with packer and puppet
Alan Parkinson
s3_website
s3_website
Yuto Ogi
N:1 Replication meets MHA
N:1 Replication meets MHA
do_aki
Backbonejs on Rails
Backbonejs on Rails
Luis Alfredo Porras Páez
Was ist angesagt?
(6)
Future Decoded - Node.js per sviluppatori .NET
Future Decoded - Node.js per sviluppatori .NET
倒计时优化点滴
倒计时优化点滴
Baking in the cloud with packer and puppet
Baking in the cloud with packer and puppet
s3_website
s3_website
N:1 Replication meets MHA
N:1 Replication meets MHA
Backbonejs on Rails
Backbonejs on Rails
Ähnlich wie Stop Ember Time
An introduction to Ember.js
An introduction to Ember.js
codeofficer
Backbone intro
Backbone intro
Ian Yang
Dependency Injection @ AngularJS
Dependency Injection @ AngularJS
Ran Mizrahi
Backbone
Backbone
Glenn De Backer
case3h231diamond.gifcase3h231energy.jpgcase3h231moder.docx
case3h231diamond.gifcase3h231energy.jpgcase3h231moder.docx
tidwellveronique
Securing Client Side Data
Securing Client Side Data
Grgur Grisogono
Intro tobackbone
Intro tobackbone
Bijan Eghtesadi
Backbone
Backbone
Ynon Perek
spring3.2 java config Servler3
spring3.2 java config Servler3
YongHyuk Lee
AngularJS Tips&Tricks
AngularJS Tips&Tricks
Petr Bela
Customizer-ing Theme Options: A Visual Playground
Customizer-ing Theme Options: A Visual Playground
DrewAPicture
Single Page Web Applications with CoffeeScript, Backbone and Jasmine
Single Page Web Applications with CoffeeScript, Backbone and Jasmine
Paulo Ragonha
Simpan data- ke- database
Simpan data- ke- database
Tri Sugihartono
Puppet and AWS: Getting the best of both worlds
Puppet and AWS: Getting the best of both worlds
Puppet
I Phone On Rails
I Phone On Rails
John Wilker
F[4]
F[4]
percy briones velasques
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWS
Amazon Web Services
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWS
Amazon Web Services
AngularJS vs. Ember.js vs. Backbone.js
AngularJS vs. Ember.js vs. Backbone.js
Mark
Drupal 7 Queues
Drupal 7 Queues
Philip Norton
Ähnlich wie Stop Ember Time
(20)
An introduction to Ember.js
An introduction to Ember.js
Backbone intro
Backbone intro
Dependency Injection @ AngularJS
Dependency Injection @ AngularJS
Backbone
Backbone
case3h231diamond.gifcase3h231energy.jpgcase3h231moder.docx
case3h231diamond.gifcase3h231energy.jpgcase3h231moder.docx
Securing Client Side Data
Securing Client Side Data
Intro tobackbone
Intro tobackbone
Backbone
Backbone
spring3.2 java config Servler3
spring3.2 java config Servler3
AngularJS Tips&Tricks
AngularJS Tips&Tricks
Customizer-ing Theme Options: A Visual Playground
Customizer-ing Theme Options: A Visual Playground
Single Page Web Applications with CoffeeScript, Backbone and Jasmine
Single Page Web Applications with CoffeeScript, Backbone and Jasmine
Simpan data- ke- database
Simpan data- ke- database
Puppet and AWS: Getting the best of both worlds
Puppet and AWS: Getting the best of both worlds
I Phone On Rails
I Phone On Rails
F[4]
F[4]
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWS
AngularJS vs. Ember.js vs. Backbone.js
AngularJS vs. Ember.js vs. Backbone.js
Drupal 7 Queues
Drupal 7 Queues
Kürzlich hochgeladen
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
Overkill Security
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
MIND CTI
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Zilliz
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
apidays
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
apidays
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Khem
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
wesley chun
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Deepika Singh
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
DianaGray10
Kürzlich hochgeladen
(20)
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Stop Ember Time
1.
Stop! Ember Time! Wednesday,
9 October 13
2.
Carl Woodward Wednesday, 9
October 13
3.
@cjwoodward Wednesday, 9 October
13
4.
Wednesday, 9 October
13
5.
Wednesday, 9 October
13
6.
Why Ember? Wednesday, 9
October 13
7.
Wednesday, 9 October
13
8.
Well structured Wednesday, 9
October 13
9.
Data bound Wednesday, 9
October 13
10.
Fast Wednesday, 9 October
13
11.
Javascript MVC framework Wednesday, 9
October 13
12.
Wednesday, 9 October
13
13.
Route Model ControllerView Template User Wednesday, 9 October
13
14.
Route Router Find a model Before
model Wednesday, 9 October 13
15.
WeightsProgram.ExerciseRoute = Ember.Route.extend
model: (params) -‐> WeightsProgram.Exercise.find params["exercise_id"] * Using Ember Model Wednesday, 9 October 13
16.
Controller Route Actions from UI Wednesday,
9 October 13
17.
WeightsProgram.AuthenticatedExerciseController = Ember.ObjectController.extend
actions: saveReps: -‐> @get("content").set("current_max", @get("content").get("new_max")) @get("content").save() @transitionToRoute("authenticated.week", @get("content.week")) * Using Ember Model Wednesday, 9 October 13
18.
View Controller Element events didInsertElement Wednesday, 9
October 13
19.
WeightsProgram.AuthenticatedWeekView = Ember.View.extend() Wednesday,
9 October 13
20.
Template View {{#link-to “week” week}}Week
Link{{/link-to}} <form {{action "saveReps" on="submit"}}> <h3>{{movement.name}}</h3> Wednesday, 9 October 13
21.
Templating Wednesday, 9 October
13
22.
Handlebars or Emblem Wednesday, 9 October
13
23.
if isEditing
form.post-‐form role="form" submit="create" .form-‐group button.btn.btn-‐primary click="stopEditing" View Emblem Wednesday, 9 October 13
24.
<h2>Week {{number}}</h2> <div class="menu">
{{#each exercise in exercises}} <h3> {{#link-‐to "authenticated.exercise" exercise}} {{exercise.movement.name}} {{/link-‐to}} </h3> {{/each}} </div> Handlebars Wednesday, 9 October 13
25.
Application layout Wednesday, 9
October 13
26.
<div class="container work">
<div class="row"> <div class="col-‐sm-‐12"> <h1>Strength Program</h1> </div> </div> <div class="row"> <div class="col-‐sm-‐12"> {{ outlet }} </div> </div> </div> Handlebars Wednesday, 9 October 13
27.
outlet is like
yield in rails views {{outlet}} Wednesday, 9 October 13
28.
Persistence Wednesday, 9 October
13
29.
Ember Data or Ember Model Wednesday,
9 October 13
30.
Ember Model = customisable Wednesday,
9 October 13
31.
Wednesday, 9 October
13
32.
WeightsProgram.Exercise = Ember.Model.extend
id: Ember.attr() reps: Ember.attr() initial_max_value: Ember.attr() movement: Ember.belongsTo("WeightsProgram.Movement", key: "movement_id", embedded: false) accessories: Ember.hasMany("WeightsProgram.Accessory", key: "accessory_ids", embedded: false) WeightsProgram.Exercise.url = "/exercises" WeightsProgram.Exercise.adapter = Ember.RESTAdapter.create() WeightsProgram.Exercise.rootKey = "exercise" WeightsProgram.Exercise.collectionKey = "exercises" Ember Model Wednesday, 9 October 13
33.
EmberBlog.Post = DS.Model.extend
title: DS.attr("string") publishedOn: DS.attr("string") body: DS.attr("string") Ember Data Wednesday, 9 October 13
34.
JJ Abrams Wednesday, 9
October 13
35.
Tips Wednesday, 9 October
13
36.
Don’t try and
preload associations Wednesday, 9 October 13
37.
didInsertView Wednesday, 9 October
13
38.
model.on(“didCreateRecord”) Wednesday, 9 October
13
39.
WeightsProgram.AuthenticatedProgramController = Ember.ObjectController.extend
actions: createWeek: -‐> number = @get("weeks.lastObject.number") + 1 week = WeightsProgram.Week.create program_id: @get("id"), number: number week.on "didCreateRecord", => @get("model").reload() @transitionToRoute("authenticated.program", @get("model")) week.save() Ember Model Wednesday, 9 October 13
40.
Computed Properties Wednesday, 9
October 13
41.
Wednesday, 9 October
13
42.
increase_percentage: (-‐>
@get("current_max") / @get("previous_max")) -‐ 1 ).property("current_max", "previous_max") Wednesday, 9 October 13
43.
Include any attribute
you need to create the model. E.g. program_id Wednesday, 9 October 13
44.
Nested routes require
nested names Wednesday, 9 October 13
45.
WeightsProgram.AuthenticatedProgramController WeightsProgram.Router.map -‐>
@resource "authenticated", path: "/", -‐> @route "program", path: "/programs/:program_id" WeightsProgram.AuthenticatedProgramView app/assets/javascripts/views/authenticated/program.hbs Wednesday, 9 October 13
46.
Only use nested
resources with nested outlets Wednesday, 9 October 13
47.
Wednesday, 9 October
13
48.
ember-rails works really well Wednesday,
9 October 13
49.
jsbin Wednesday, 9 October
13
50.
discuss.emberjs.com Read discourse source
code #emberjs-‐dev Wednesday, 9 October 13
51.
Demo Wednesday, 9 October
13
Jetzt herunterladen