Learning Ember.js

Inspired by a talk given by Phil Nash, I’m documenting my process of Learning Ember.js.

Last updated: 3. March 2016.

New since I started this list:

My approach to learning Ember.js:

General presentations:

Talks that provide background information:

Noteworthy blog posts

Podcasts

Newsletter

Communities

Tools

Code Gotchas / Workarounds

  • Ember (1.13) When using PODs, the templates are in app/route_name/index/template.hbs. Not in app/route_name/index.hbs. Use ember g template route_name/index –pod to get the correct folder structure.

Django Integration

Templates

  • When using {{link-to}}, you can add class=”something” to get that class to show up in final a. Example for Bootstrap: {{link-to ‘Home’ ‘application’ class=”btn btn-primary”}}

Routes

Outdated Workarounds

  • Ember (1.13) If you’re now seeing routes (only showing application_loading) in your Ember Inspector, it’s because of bug #396. Make sure you’re running Ember Inspector that is greater than 1.8.2. If that is not available, you’ll have to build it from source.
  • (Ember 1.12) Upgrade your ember-data from 1.0.0-beta.18 to 1.0.0-beta.19 or highter, to get rid of these two errors:
    • DEPRECATION: `lookupFactory` was called on a Registry. The `initializer` API no longer receives a container, and you should use an `instanceInitializer` to look up objects from the container. See http://emberjs.com/guides/deprecations#toc_deprecate-access-to-instances-in-initializers for more details.
    • DEPRECATION: `lookup` was called on a Registry. The `initializer` API no longer receives a container, and you should use an `instanceInitializer` to look up objects from the container. See http://emberjs.com/guides/deprecations#toc_deprecate-access-to-instances-in-initializers for more details.
    • You would upgrade your ember-data by changing the version in bower.json and running bower install.