Slide 1

Slide 1 text

@chancancode  

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Animated Gifts

Slide 6

Slide 6 text

Programmer to Thought Leader™ Professional Thought Leadership Angelina Fabbro, Sara Chipps, Gabe Scholz, Tom Dale, Horse JS, Allen Pike g g n n o o r r w w ™

Slide 7

Slide 7 text

Chapter 1 Leading By Example Professional Thought Leadership Thought Leadership

Slide 8

Slide 8 text

Chapter 1 Leading By Example Professional Thought Leadership Thought Leaders Ship

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

Chapter 2 Create Controversies Kill Your Darlings Professional Thought Leadership

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

Thought Leadership Is Dead

Slide 14

Slide 14 text

Fatigue

Slide 15

Slide 15 text

Fatigue Fatigue

Slide 16

Slide 16 text

Fatigue Fatigue Fatigue

Slide 17

Slide 17 text

Fatigue Fatigue Fatigue Fatigue

Slide 18

Slide 18 text

Fatigue Fatigue Fatigue Fatigue Fatigue

Slide 19

Slide 19 text

Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue

Slide 20

Slide 20 text

Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue

Slide 21

Slide 21 text

Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue

Slide 22

Slide 22 text

Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue

Slide 23

Slide 23 text

Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue Fatigue

Slide 24

Slide 24 text

JavaScript Frameworks Fatigue

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

Which of these is not a JavaScript Framework?

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

2015 2014 2013 2012 2011 2010 ? “1.0” Releases R.I.P.

Slide 29

Slide 29 text

2015 2014 2013 2012 2011 2010 ? Reaching “Critical Mass”

Slide 30

Slide 30 text

Hype

Slide 31

Slide 31 text

THE HYPE CYCLE PLATEAU OF PRODUCTIVITY SLOPE OF ENLIGHTENMENT TROUGH OF DISILLUSIONMENT TECHNOLOGY TRIGGER PEAK OF INFLATED EXPECTATIONS VISIBILITY MATURITY Ember in the Real World by Brandon Hays, Fluent Conf

Slide 32

Slide 32 text

“HYPE” IS NOT AN INSULT, IT’S AN INEVITABILITY PLATEAU OF PRODUCTIVITY SLOPE OF ENLIGHTENMENT TROUGH OF DISILLUSIONMENT TECHNOLOGY TRIGGER PEAK OF INFLATED EXPECTATIONS VISIBILITY MATURITY Ember in the Real World by Brandon Hays, Fluent Conf

Slide 33

Slide 33 text

Hype Fatigue

Slide 34

Slide 34 text

An Antidote to Your Hype Fatigue

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

“Isn’t Ember dead?”

Slide 39

Slide 39 text

Big Bets

Slide 40

Slide 40 text

1. Ambitious Web Applications 2. Future Standards Foresight 3. Stability Without Stagnation

Slide 41

Slide 41 text

1. Ambitious Web Applications

Slide 42

Slide 42 text

Widgets

Slide 43

Slide 43 text

MVC

Slide 44

Slide 44 text

Full-fledged Applications

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

Solving the Hard Problems™

Slide 47

Slide 47 text

MVC

Slide 48

Slide 48 text

[ MVC ]s

Slide 49

Slide 49 text

[ MVC ]s + Router

Slide 50

Slide 50 text

[ MVC ]s + Router + Data Store

Slide 51

Slide 51 text

[ [ MVC ]s + Router + Data Store ] + Testing

Slide 52

Slide 52 text

[ [ MVC ]s + Router + Data Store ] + Testing + Build Tools

Slide 53

Slide 53 text

[ [ MVC ]s + Router + Data Store ] + Testing + Build Tools + Deployment

Slide 54

Slide 54 text

[ [ [ MVC ]s + Router + Data Store ] + Testing + Build Tools + Deployment ] + Ecosystem

Slide 55

Slide 55 text

Solving the Hard Problems™ Real World

Slide 56

Slide 56 text

Solving the Hard Problems™ Real World Boring

Slide 57

Slide 57 text

“Ember is dead.”

Slide 58

Slide 58 text

“Apple has stopped innovating.”

Slide 59

Slide 59 text

Innovations

Slide 60

Slide 60 text

Ember Inspector

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

No content

Slide 63

Slide 63 text

No content

Slide 64

Slide 64 text

No content

Slide 65

Slide 65 text

No content

Slide 66

Slide 66 text

Ember Data

Slide 67

Slide 67 text

Models // app/models/post.js export default DS.Model.extend({ title: DS.attr(“string”), body: DS.attr(“string”), published: DS.attr(“date”), });

Slide 68

Slide 68 text

Relationships // app/models/post.js export default DS.Model.extend({ title: DS.attr(“string”), body: DS.attr(“string”), published: DS.attr(“date”), author: DS.belongsTo(“user”), comments: DS.hasMany(“comment”), });

Slide 69

Slide 69 text

store.find(“post”); store.find(“post”, {q: “Rails”}); store.find(“post”, 1); store.filter(“post”, function(post) { ... }); store.createRecord(“post”, { title: “Rails is Omakase”, body: “...” }); Identity Store

Slide 70

Slide 70 text

Data Sources

Slide 71

Slide 71 text

JSON API

Slide 72

Slide 72 text

// app/adapters/application.js export default DS.RestAdapter.extend({ host: “https://...” }); // app/adapters/user.js export default FirebaseAdapter.extend({ firebase: “https://...” }); Data Sources

Slide 73

Slide 73 text

No content

Slide 74

Slide 74 text

No content

Slide 75

Slide 75 text

Ember CLI

Slide 76

Slide 76 text

% ember new test-app version: 0.2.3 installing create .bowerrc create .editorconfig create .ember-cli create .jshintrc create .travis.yml create Brocfile.js create README.md create app/app.js create app/components/.gitkeep create app/controllers/.gitkeep create app/helpers/.gitkeep create app/index.html ... Installed packages for tooling via npm. Installed browser packages via Bower. Successfully initialized git.

Slide 77

Slide 77 text

No content

Slide 78

Slide 78 text

% ember serve version: 0.2.3 Livereload server on port 35729 Serving on http://localhost:4200/ Build successful - 3774ms. Slowest Trees | Total ----------------------------------------------+--------------------- Concat: Vendor | 3005ms Slowest Trees (cumulative) | Total (avg) ----------------------------------------------+--------------------- Concat: Vendor (1) | 3005ms Babel (2) | 231ms (115 ms)

Slide 79

Slide 79 text

Generators

Slide 80

Slide 80 text

% ember generate resource post version: 0.2.3 installing create app/models/post.js installing create tests/unit/models/post-test.js installing create app/routes/post.js create app/templates/post.hbs installing create tests/unit/routes/post-test.js

Slide 81

Slide 81 text

Conventions

Slide 82

Slide 82 text

Assets Pipeline

Slide 83

Slide 83 text

Modules

Slide 84

Slide 84 text

JSHint, Babel, etc

Slide 85

Slide 85 text

Build Tools

Slide 86

Slide 86 text

Testing

Slide 87

Slide 87 text

Unit Testing

Slide 88

Slide 88 text

Acceptance Testing

Slide 89

Slide 89 text

Browser Testing

Slide 90

Slide 90 text

Browser Testing Test Harness™

Slide 91

Slide 91 text

% ember generate resource post version: 0.2.3 installing create app/models/post.js installing create tests/unit/models/post-test.js installing create app/routes/post.js create app/templates/post.hbs installing create tests/unit/routes/post-test.js

Slide 92

Slide 92 text

moduleForModel('post'); test('slug', function(assert) { var post = this.subject({ title: 'Rails is omakase' }); assert.equal(post.get('slug'), 'rails-is-omakase'); });

Slide 93

Slide 93 text

moduleForComponent('delete-button'); test('delete confirmation', function(assert) { var component = this.subject({ text: 'Delete post' }); component.$().click(); assert.equal(component.$().text(), 'Are you sure?'); });

Slide 94

Slide 94 text

module('Acceptance: check out', { ... }); test('Express checkout', function(assert) { visit('/products/agile-web-development-with-rails'); click('#express-checkout'); fillIn('#login .username', 'godfrey'); fillIn('#login .secret', 'secret'); click('#login .submit'); andThen(function() { var confirmation = find('#notice h3').text(); assert.equal(confirmation, 'Thank you for your order'); }); });

Slide 95

Slide 95 text

% ember test version: 0.2.3 Built project successfully. ok 1 PhantomJS 1.9 - JSHint - .: app.js should pass jshint ok 2 PhantomJS 1.9 - JSHint - helpers: helpers/resolver.js should pass jshint ... ok 11 PhantomJS 1.9 - route:post: it exists 1..11 # tests 11 # pass 11 # fail 0 # ok

Slide 96

Slide 96 text

% ember test --server

Slide 97

Slide 97 text

Ember Addons

Slide 98

Slide 98 text

Coffee Script ember install ember-cli-coffeescript

Slide 99

Slide 99 text

Sass ember install ember-cli-sass

Slide 100

Slide 100 text

Mocha ember install ember-cli-mocha

Slide 101

Slide 101 text

Code Coverage ember install ember-cli-blanket

Slide 102

Slide 102 text

Sauce Labs ember install ember-cli-sauce

Slide 103

Slide 103 text

Firebase ember install emberfire

Slide 104

Slide 104 text

Authentication ember install ember-cli-simple-auth

Slide 105

Slide 105 text

Animations ember install liquid-fire

Slide 106

Slide 106 text

Deployment ember install ember-cli-deploy

Slide 107

Slide 107 text

Canadian Stylesheets ember install ember-cli-canadian-stylesheets

Slide 108

Slide 108 text

No content

Slide 109

Slide 109 text

~ 1000 addons (and counting)

Slide 110

Slide 110 text

Big Bets

Slide 111

Slide 111 text

1. Ambitious Web Applications 2. Future Standards Foresight 3. Stability Without Stagnation

Slide 112

Slide 112 text

2. Future Standards Foresight

Slide 113

Slide 113 text

Programmer to Thought Leader™ JavaScript Thought Leadership Yehuda Katz g g n n o o r r w w ™

Slide 114

Slide 114 text

Promises

Slide 115

Slide 115 text

Routes // app/routes/post.js export default Ember.Route.extend({ model: function(params) { return $.ajax(“/posts/” + params.post_id); } });

Slide 116

Slide 116 text

Ember Data store.find(“post”, 1).then(function(post) { ... });

Slide 117

Slide 117 text

Synergy™ // app/routes/post.js export default Ember.Route.extend({ model: function(params) { return this.store.find(“post”, params.post_id); } });

Slide 118

Slide 118 text

Synergy™ // app/routes/post.js export default Ember.Route.extend({ });

Slide 119

Slide 119 text

Testing module('Acceptance: check out', { ... }); test('Express checkout', function(assert) { visit('/products/agile-web-development-with-rails') .then(function() { click('#express-checkout'); }) .then(function() { fillIn('#login .username', 'godfrey'); fillIn('#login .secret', 'secret'); }) .then(function() { click('#login .submit'); }) .then(function() { var confirmation = find('#notice h3').text(); assert.equal(confirmation, 'Thank you for your order'); }); });

Slide 120

Slide 120 text

Synergy™ module('Acceptance: check out', { ... }); test('Express checkout', function(assert) { visit('/products/agile-web-development-with-rails'); click('#express-checkout'); fillIn('#login .username', 'godfrey'); fillIn('#login .secret', 'secret'); click('#login .submit'); andThen(function() { var confirmation = find('#notice h3').text(); assert.equal(confirmation, 'Thank you for your order'); }); });

Slide 121

Slide 121 text

No content

Slide 122

Slide 122 text

Web Components

Slide 123

Slide 123 text

Custom Elements

Slide 124

Slide 124 text

A directive that is restricted to element names with an isolated scope that uses transclusion.

Slide 125

Slide 125 text

Ember Components

Slide 126

Slide 126 text

...

Slide 127

Slide 127 text

{{#my-button ...}} ... {{/my-button}}

Slide 128

Slide 128 text

...for now.

Slide 129

Slide 129 text

ES 6+

Slide 130

Slide 130 text

ES6 Modules // app/models/post.js import DS from “ember-data”; export default DS.Model.extend({ title: DS.attr(“string”), body: DS.attr(“string”), published: DS.attr(“date”), }); // test/unit/models/post-test.js import Post from 'test-app/models/post'; // ...

Slide 131

Slide 131 text

ES6 Syntax // app/routes/post.js export default Ember.Route.extend({ model(params) { return $.ajax(`/posts/${ params.post_id) }`); } });

Slide 132

Slide 132 text

ES6 Classes?

Slide 133

Slide 133 text

No content

Slide 134

Slide 134 text

The Future Is Now™

Slide 135

Slide 135 text

ember install ember-cli-computed-decorators

Slide 136

Slide 136 text

// app/models/user.js import DS from 'ember-data'; import computed from 'ember-computed-decorators'; export default DS.Model.extend({ firstName: DS.attr(“string”), lastName: DS.attr(“string”), @computed(“firstName”, “lastName”) fullName(firstName, lastName) { return `${ firstName } ${ lastName }`; } });

Slide 137

Slide 137 text

// app/models/user.js import DS from 'ember-data'; import computed from 'ember-computed-decorators'; export default DS.Model.extend({ firstName: DS.attr(“string”), lastName: DS.attr(“string”), @computed(“firstName”, “lastName”) fullName(firstName, lastName) { return `${ firstName } ${ lastName }`; } });

Slide 138

Slide 138 text

Synergy™

Slide 139

Slide 139 text

Big Bets

Slide 140

Slide 140 text

1. Ambitious Web Applications 2. Future Standards Foresight 3. Stability Without Stagnation

Slide 141

Slide 141 text

3. Stability Without Stagnation

Slide 142

Slide 142 text

No content

Slide 143

Slide 143 text

Release Channels

Slide 144

Slide 144 text

Release Beta Canary

Slide 145

Slide 145 text

May 1.11 1.12 Beta 3 Apr Mar Feb Jan Dec Nov Oct Sep Aug 1.10 1.12 Beta 2 1.12 Beta 1 1.11 Beta 5 1.11 Beta 4 1.11 Beta 3 Canary Beta Release 1.11 Beta 2 1.11 Beta 1 1.10 Beta 4 1.10 Beta 3 1.10 Beta 2 1.10 Beta 1 1.9 1.9 Beta 4 1.9 Beta 3 1.9 Beta 1 1.8 1.8 Beta 5 1.8 Beta 4 1.8 Beta 3 1.8 Beta 2 1.8 Beta 1 1.7 1.7 Beta 5 1.7 Beta 4 Bound Attributes HTML Bars Glimmer Block Params Injected Properties New CP Syntax {{component}} Streams Handlebars 2.0 Metamorph 2015

Slide 146

Slide 146 text

May 1.11 1.12 Beta 3 Apr Mar Feb Jan Dec Nov Oct Sep Aug 1.10 1.12 Beta 2 1.12 Beta 1 1.11 Beta 5 1.11 Beta 4 1.11 Beta 3 Canary Beta Release 1.11 Beta 2 1.11 Beta 1 1.10 Beta 4 1.10 Beta 3 1.10 Beta 2 1.10 Beta 1 1.9 1.9 Beta 4 1.9 Beta 3 1.9 Beta 1 1.8 1.8 Beta 5 1.8 Beta 4 1.8 Beta 3 1.8 Beta 2 1.8 Beta 1 1.7 1.7 Beta 5 1.7 Beta 4 Bound Attributes HTML Bars Glimmer Block Params Injected Properties New CP Syntax {{component}} Streams Handlebars 2.0 Metamorph 2015

Slide 147

Slide 147 text

Semantic Versioning

Slide 148

Slide 148 text

Deprecations

Slide 149

Slide 149 text

No content

Slide 150

Slide 150 text

Synergy™

Slide 151

Slide 151 text

RFCs

Slide 152

Slide 152 text

RFCs

Slide 153

Slide 153 text

Does it really work?

Slide 154

Slide 154 text

No content

Slide 155

Slide 155 text

Notable Features Shipped During 1.x 1.2 Router loading/error substates 1.3 Router auto location 1.6 ES6-ify Ember internals 1.7 Query params, nestable routes 1.8 Remove metamorph tags 1.9 Handlebars 2.0, Streams 1.10 HTMLBars, {{else if}}, block params 1.11 Bound attributes

Slide 156

Slide 156 text

HTMLBars Ember 1.10

Slide 157

Slide 157 text

Before

Slide 158

Slide 158 text

// app/templates/post.hbs

{{ post.title }}

{{markdownToHTML post.body}}

Slide 159

Slide 159 text

After

Slide 160

Slide 160 text

// app/templates/post.hbs

{{ post.title }}

{{markdownToHTML post.body}}

Slide 161

Slide 161 text

Bound Attributes Ember 1.11

Slide 162

Slide 162 text

Before

Slide 163

Slide 163 text

// app/templates/post.hbs

{{ post.title }}

{{markdownToHTML post.body}}

Slide 164

Slide 164 text

After

Slide 165

Slide 165 text

// app/templates/post.hbs

{{ post.title }}

{{markdownToHTML post.body}}

Slide 166

Slide 166 text

// app/templates/post.hbs

{{ post.title }}

{{markdownToHTML post.body}}

Slide 167

Slide 167 text

Improved

Slide 168

Slide 168 text

// app/templates/post.hbs

{{ post.title }}

{{markdownToHTML post.body}}

Slide 169

Slide 169 text

No content

Slide 170

Slide 170 text

Reactive Programming

Slide 171

Slide 171 text

Notable Features Shipped During 1.x 1.2 Router loading/error substates 1.3 Router auto location 1.6 ES6-ify Ember internals 1.7 Query params, nestable routes 1.8 Remove metamorph tags 1.9 Handlebars 2.0, Streams 1.10 HTMLBars, {{else if}}, block params 1.11 Bound attributes

Slide 172

Slide 172 text

No content

Slide 173

Slide 173 text

No content

Slide 174

Slide 174 text

No content

Slide 175

Slide 175 text

No content

Slide 176

Slide 176 text

No content

Slide 177

Slide 177 text

Notable Features Shipped During 1.x 1.2 Router loading/error substates 1.3 Router auto location 1.6 ES6-ify Ember internals 1.7 Query params, nestable routes 1.8 Remove metamorph tags 1.9 Handlebars 2.0, Streams 1.10 HTMLBars, {{else if}}, block params 1.11 Bound attributes 1.12 ??? 1.13? Glimmer

Slide 178

Slide 178 text

Fast Boot™

Slide 179

Slide 179 text

One-way Binding By Default

Slide 180

Slide 180 text

Notable Features Shipped During 1.x 1.2 Router loading/error substates 1.3 Router auto location 1.6 ES6-ify Ember internals 1.7 Query params, nestable routes 1.8 Remove metamorph tags 1.9 Handlebars 2.0, Streams 1.10 HTMLBars, {{else if}}, block params 1.11 Bound attributes 1.12 ??? 1.13? Glimmer, One-way binding

Slide 181

Slide 181 text

Components Everywhere

Slide 182

Slide 182 text

Notable Features Shipped During 1.x 1.2 Router loading/error substates 1.3 Router auto location 1.6 ES6-ify Ember internals 1.7 Query params, nestable routes 1.8 Remove metamorph tags 1.9 Handlebars 2.0, Streams 1.10 HTMLBars, {{else if}}, block params 1.11 Bound attributes 1.12 ??? 1.13? Glimmer, One-way binding, Routable components, <... />, ...

Slide 183

Slide 183 text

Ember 2.0

Slide 184

Slide 184 text

No content

Slide 185

Slide 185 text

Notable Features Shipped During 1.x 1.2 Router loading/error substates 1.3 Router auto location 1.6 ES6-ify Ember internals 1.7 Query params, nestable routes 1.8 Remove metamorph tags 1.9 Handlebars 2.0, Streams 1.10 HTMLBars, {{else if}}, block params 1.11 Bound attributes 1.12 ??? 1.13? Glimmer, One-way binding, Routable components, <... />, ...

Slide 186

Slide 186 text

Notable Features Shipped With 2.0 < This slide is intentionally left blank >

Slide 187

Slide 187 text

Big Bets

Slide 188

Slide 188 text

1. Ambitious Web Applications 2. Future Standards Foresight 3. Stability Without Stagnation

Slide 189

Slide 189 text

No content

Slide 190

Slide 190 text

THE HYPE CYCLE PLATEAU OF PRODUCTIVITY SLOPE OF ENLIGHTENMENT TROUGH OF DISILLUSIONMENT TECHNOLOGY TRIGGER PEAK OF INFLATED EXPECTATIONS VISIBILITY MATURITY Ember in the Real World by Brandon Hays, Fluent Conf

Slide 191

Slide 191 text

No content

Slide 192

Slide 192 text

No content

Slide 193

Slide 193 text

An Antidote to Your Hype Fatigue

Slide 194

Slide 194 text

“Isn’t Ember dead?”

Slide 195

Slide 195 text

@chancancode  