Hi, On Monday 08 August 2011 20:57:58 aditya siram wrote: > What is the best way of reducing the size of Qooxdoo apps across > multiple pages? You can use so-called "parts" to slice your application and the necessary framework classes into parts and load them when necessary.
-> http://manual.qooxdoo.org/1.5.x/pages/development/parts_overview.html Take a look at this overview and the detailed pages which are linked to get a impression what parts can do for you. > I have multiple HTML pages with div's each of which has a Qooxdoo > widget and totals around 700KB - 1MB of Javascript. Sounds like a good candidate to use parts for me. You can configure your specific parts in the "config.json" and use the PartLoader API to load them dynamically. It's all in place and offered by the framework and the toolchain. > Because the "build" step generates one large file when I go to another > page that uses some common widgets the browser loads the JS for those > widgets all over again. Is there some way to keep a common list of > compiled classes that any app can use? Do you need the same widgets on all pages? If not, you can create parts which contain different widgets and load them accordingly. This way you do not need to load one big JS file. You can create a small loader JS file which is capable of loading the necessary parts on demand. Regards, Alex ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
