Month: January 2013

Sencha

Simplifying view code in large Ext.js and Sencha apps

Do you ever feel like your view code in Ext.js is getting out of control? Do you end up copying and pasting button configs across multiple views? Imagine if you could control all your component config in fewer places, make it easier to share config, test components and update them. I’d like to introduce the …

Sencha

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 …