PDA

View Full Version : ExtJS Class System without the UI ballast



webxells
2 Jul 2012, 11:44 PM
ExtJS Class Handling is good to handle, but you have to pay it with the UI stack, loading all the unnecessary stuff (wich is very memory intensive, and slows down the browser load, I have trouble with firebug an ExtJS, it's consuming by 20 time pageload more and more memory).

Is there a way for only using the Class Handling System from ExtJS, as is the case jsClass?

And on demand loading the UI-Components.

mitchellsimoens
6 Jul 2012, 2:25 PM
I would not recommend loading classes on demand in production. You should use the dependency management by requiring classes and for production do a build which will only include the classes your app uses.

webxells
16 Jul 2012, 6:42 AM
Good practise :) That'ts what we already did.

So there is no "Core" ExtJS Class System module like JSClass? Because, the initial loadtime slows down the development, although the resources were loaded local (6s with extjs minified, under 2s without extjs).