Tag: JavaScript


Promises in Ext.js and Sencha Touch

Do you feel like passing callbacks and setting scopes everywhere makes your code messy and difficult to follow? Promises can make your code more readable, easier to debug and understand, and also a easier to test. What is a promise though? Simple promises The idea of a promise is that you request someone to do …