PDA

View Full Version : ExtJS 4.1: Another way to load ExtJS Application for production



joga bonito
14 Jan 2013, 4:36 AM
Hi All,

I was wondering if it's possible to include all the components that we needs like JAVA import without including the ext-all.js at the index file. My problem is that even if ext-all.js is minified, my application is still loading slowly (Production mode) and I think that I'm not using all the features in this file.

So, if someone know how to do that, it will be very usefull for me and my app! :D

Thanks in advance,

friend
14 Jan 2013, 5:21 AM
Visit the Getting Started guide (http://docs.sencha.com/ext-js/4-1/#!/guide/getting_started) and see section "2.3 Library Inclusion methods".

Also take a look at the Sencha Cmd (http://docs.sencha.com/ext-js/4-1/#!/guide/command) tool for deployment.

joga bonito
14 Jan 2013, 6:07 AM
I've already choosen this way but I've got some errors when I use this command => sencha -sdk /path/to/extjs generate app MyApp /path/to/app!This is the error: Failed to determine framework name. Please ensure this command was issued from either a framework or application directory!... I followed the documentation but I'm still getting this error! :-?

friend
14 Jan 2013, 12:02 PM
For more assistance with this problem, try posting in the Sencha Cmd (http://www.sencha.com/forum/forumdisplay.php?8-Sencha-Cmd) forum.