Ember 2.0

The Featureless Release

Chris Manson

@real_ate

http://chris.manson.ie/blog

 

The "Ember Guy"

Running @Blooie

Doing a whole bunch of Consulting work 😖

Why Ember

The Community!

Ember 2.0

Not like other releases 

Ember 2.0 is not a traditional major release. [...] we're [focusing on] sweeping out built-up cruft as a foundation for continued progress.


Ember 2.0 only removes features that were deprecated as of Ember 1.13, so apps that run [...] without any deprecation warnings should run without issues on Ember 2.0.

Timeline

Ember 1.0

Ember 2.0 Announced

 

Ember 2.0

1.1

1.2

1.3

1.4

1.5

1.6

1.7

1.8

Timeline

Ember 1.0

Ember 2.0 Announced

 

Ember 2.0

1.1

1.2

1.3

1.4

1.5

1.6

1.7

1.8

1.9

1.10

1.11

1.12

1.13

RFCs?

"The RFC" - Ember 2.0

Key Points

  • Strong Focus on Migration
  • Ember Cli & Open standards
  • Template Updates
  • Components
  • Simplify Concepts

Strong Focus on Migration

Ember Cli & Open standards

Template Updates

<a {{bind-attr href=url class="isActive:active :link isInStock::not-in-stock"}}>
    Click here
</a>

Then:

Now:

<a href={{url}} 
   class="link {{if isActive 'active'}} {{if isInStock '' 'not-in-stock'}}">
    Click here
</a>

Template Updates

<ul>
    {{#each todo in todos}}
        <li>{{todo.title}}</li>
    {{/each}}
</ul>

Then:

Now:

<ul>
    {{#each todos as |todo|}}
        <li>{{todo.title}}</li>
    {{/each}}
</ul>

Template Updates

<ul>
    {{#each todo in todos}}
        <li>{{todo.title}}</li>
    {{/each}}
</ul>

Then:

Now:

<ul>
    {{#each todos as |todo index list|}}
        <li>Todo number {{index}}: {{todo.title}}</li>
    {{/each}}
</ul>

Template Updates

<ul>
    {{#each todos}}
        <li>{{title}}</li>
    {{/each}}
</ul>

Then:

Now:

#nope

Components

  • Improved Actions ✅
  • One way bindings (kinda)
  • Routable components ❌

Simplify Concepts

<meta>

</meta>

Thanks for Coming

Questions?

Ember 2.0: The Featureless Release

By Chris Manson

Ember 2.0: The Featureless Release

  • 835