I noticed that ext-all.js is a lot larger in ExtJS4:
4.0 Beta1: 951KB
3.3.2: 701KB
Is this (close to) the final size or is there still room for improvement in the final 4.0 release?
Our ExtJS apps are noticeably faster than "traditional" apps that generate HTML on the server, _except_ for the initial loading time. On slow network connections this has already been an issue in the past. It would be a shame if the problem becomes so much worse in a new ExtJS version.
While the basic 'everything under the sun' build pkg may be bigger, I would think that given v4's ability to dynamically load pieces as needed, and the ability to build a smaller pkg via the jsb files, you probably won't be running the base 'all' file if you don't need to.
I doubt that dynamic loading is the solution. Making eleventy-nine roundtrips to download snippets of js might be fine during development, but will just cause other performance problems in production.
So yes, I'll build a custom version, but I already did that with ExtJS 3, so the fact remains that ExtJS 4 is hundreds of KB larger :-(
even if the ext 4 all js is around 300 kb bigger, you save the charts.swf, which was 80 kbs. at least if you used the yui-charts.
i personally really prefer faster layout and grid - rendering compared to the initial loading time.
the loader has also a huge potential, since you can not only load the ext-packages you need but also the custom modules of your app. example: loading the admin-panel of an app and all all needed modules only when a user wants to use it.
best regards
tobiu
Best regards
Tobias Uhlig
__________
Sencha Inc
Tobias Uhlig, Solutions Engineer
Private Projects: S-CIRCLES Social Network Engine
Commercial Theming for Ext JS 3 & 4
That s why i went to GWT(GXT) and never looked back. Glad i have a compiler there, dont need to worry about those type of things. Sad Sencha ships all the engineering power to EXT-JS and a lillte to GXT .