After spending the last year writing Ember.js code I’ve realized one really big thing – Ember is about promises. I recently had a chance to refactor some code with a number of asynchrounous calls. The original logic used timers and polling to monitor the state of a bunch of recursive calls to the Google API…
Tag: Ember
Session timeout for your Ember application
We ran into an issue with sessions timing out while users were doing client side stuff with an Ember application we’re building. Once the session timed out they could no longer make authenticated requests of course and all ajax calls would fail. Here’s a couple of bits of code that might be helpful. First capture…