Its exactly how Derrell said. The build tries to make the minimal code size but if there is a hard dependency between used clases in the framework, the classes will be also moved in the build. The perfect example is the single value binding. Its included into every qooxdoo object with the MBinding mixin. That way, the build script will include it into the build because every qx object needs it. This excluding can tweak a little bit but not much because the generator does quite a good job in common.

Am 02.04.2009 um 19:23 schrieb Derrell Lipman:

2009/4/2 Gene Amtower <[email protected]>
On Thu, 2009-04-02 at 17:35 +0200, Martin Wittemann wrote:
> You might just confirm for me that the minimally-required framework
> content is already included in the ~640 KB js file, as I don't know
> how much each part of the framework will impact the final js file
> size. If I know I'm building the js file correctly, I'll move on to
> the other post topics mentioned above to try to reduce my app load
> time.

About 640 KB for you application could be correct, depending on your
application size. So perhaps its a good idea to start with the first
topic and remove the data classes from the build, if you dont use them.


So, a standard "build" does not automatically exclude unused framework classes from the js file then?

Yes it does. There's some misunderstanding going on here. A "build" only copies the classes that are actually used by your application (and recursively, by classes used by your application).

Derrell


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to