jeudi 22 mai 2014

Possible to compile two separate *.js files (app.js, etx.js)

Hi,

I finally managed to transfer my application (which does not rely on any Designer magic) to Sencha CMD. Appart from one or two remaining problems, CMD compiles now my application for ExtJS 4.1.X and 4.2.X.

One consequence of the automatic integration of required ExtJS source files (which is great) is that my app.js file has become bigger (before I had my application code in app.js and loaded the ExtJS lib file separately in my HTML file). The ExtJS lib often loaded faster and thus my applications splash screen already started before the rest of my application was loaded.


With my Sencha CMD compilation the load time increased and when loaded, the splash screen appears for milli seconds before the rest of the UI appears. This isn't really a good UI experience (Longer load time, splash screen makes no sense anymore).


Therefor I wanted to ask, if it is possible to compile with Sencha CMD two separate files. One for ExtJS and one for my app. I'm generally also happy to hear about your startup logic for your apllications.


Thx





Aucun commentaire:

Enregistrer un commentaire