I ran into another interesting situation with ember.js today. We make a request to the server to get a collection of objects for the application route. That request sends parameters that the server uses to filter the results which means that ember will give you an immutable object. The code is pretty typical and looks…
Tag: Ember.js
Handle Keyboard events in an Ember.js view
We ran into a situation where we wanted to be able to close our ember.js view (a modal) when the user pressed the esc key. At first I thought the solution was easy and I ended up with some code like this: App.ModalView = Ember.View.extend({ didInsertElement: function(){ $(document).on(‘keyup’, { _self: this }, this.esc_close); }, esc_close:…
Building with Ember
We’re currently building a couple of projects for a group at MIT and for a current Techstars company in the Kaplan program which has given us a chance to try out ember.js on real projects. Ember is an incredible framework started by two really smart guys Yehuda Katz Tom Dale. It’s new and it’s hot…