Ember.js Articles/Tutorials/Links

Collection of articles on ember.js that have helped me learn:

  • Ember Addons
    • http://www.emberaddons.com/
  • Explanation of 'Data Down Actions Up' pattern
    • https://emberway.io/ember-js-goodbye-mvc-part-1-21777ecfd708#.n3y620b1a
  • Ember.js Components
    • http://www.programwitherik.com/ember-js-components-examples/
  • Typeahead Component
    • https://github.com/aupac/ember-aupac-typeahead
  • Promise/RSVP articles
    • http://www.barelyknown.com/blog/2014/12/14/understanding-ember-data-and-rsvp-promise-chaining
  • Questions/Problems
    • Sub-components and actions not bubbling up automatically
      • http://discuss.emberjs.com/t/sub-component-action-not-bubbling-up/6739/7
    • Closure Actions
      • http://emberjs.com/blog/2015/06/12/ember-1-13-0-released.html#toc_closure-actions
        • How to call an action on a route using closure actions
          • http://stackoverflow.com/questions/31101296/how-to-call-an-action-on-a-route-using-closure-actions
    • What should a REST API return for ember-data
      • Helped me fix a problem with PUT/POST where I was returning plural in http-mocks, should have been singular.
      • http://discuss.emberjs.com/t/what-should-an-api-compatible-rest-server-return/779
    • Binding element attributes in a template
      • https://guides.emberjs.com/v2.2.0/templates/binding-element-attributes/
    • Examining a select box with Ember 2.0
      • http://balinterdi.com/2015/08/29/how-to-do-a-select-dropdown-in-ember-20.html
        • https://gist.github.com/rtablada/280778b093768172cf43
    • Bootstrap active links with <li active=true>{{link-to}}</li>
    • Scroll to top of page on each ember route
  • Components
  • General Ember Blogs
  • Conference Talks
    • EmberConf 2015 Opening Keynote
      • https://www.youtube.com/watch?v=o12-90Dm-Qs&feature=youtu.be&t=47m21s

  • Helpers:
    • Ember Truth Helpers (provides 'eq' helper)
      • https://github.com/jmurphyau/ember-truth-helpers

Notes:
  • What is Ember.K
    • http://ember.zone/what-the-hell-is-ember-k/ 
      • Making methods safe to call in the event that they might be undefined at the time of calling.
      • Providing hooks for subclasses to implement in a safe way.
      • Creating stand in action event handlers until you are ready to implement the necessary logic, and avoid Ember.js throwing an error.
  • Creating a closure action on a nested component
    • On the template
      • {{my-component saveAction=(action 'saveControllerAction')}}
        • Assumes 'saveControllerAction' is an action defined on the controller.
          • saveControllerAction() calls this.send('saveRouteAction', this.get('model'))
          • It's important the action name is different between controller and router, if they are same you run into a circular reference and will stack overflow.