r4nd7263
20 Jul 2011, 6:41 AM
Is there the notion of "code splitting" in Sencha Touch? I am not talking about just having several js files, but breaking up the initial download of resources needed to load the app. Looking at the demos, I couldn't tell. It seems most of them load all js files in index.html
If not, how do people handle it in large project? do you break the app into several small apps, each with its own app html?
I have working with Ext GWT for our desktop web app. Before GWT introduced code splitting, we had many customers complaining the web page takes long time to load initially. With code splitting, it really fixes all that issues with our larger web apps (http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html). Is there similar concept in Sencha Touch?
Since mobile web app performance and responsiveness is even more demanding, I'd like to know best practices and patterns used on large Sehcha Touch projects (potentially 1000+ classes).
If not, how do people handle it in large project? do you break the app into several small apps, each with its own app html?
I have working with Ext GWT for our desktop web app. Before GWT introduced code splitting, we had many customers complaining the web page takes long time to load initially. With code splitting, it really fixes all that issues with our larger web apps (http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html). Is there similar concept in Sencha Touch?
Since mobile web app performance and responsiveness is even more demanding, I'd like to know best practices and patterns used on large Sehcha Touch projects (potentially 1000+ classes).