Am 13.04.2007 um 20:46 schrieb Rahul Sharma: > We have been using this technique for Qooxdoo for more than one and a > half years. Now we have used qooxdoo and these techniques on 4 > products, > tested with multiple browsers. > > The next great approach would be to sub-divide qooxdoo into four - > five > major javascript files (functionality wise) instead of one > monolithic js > file. Then load these files using on-demand techniques like eval() > etc. > > Next step further would be to support application/sub-application > concepts.
The build system already allows it to create "packages" with classes of a topic combined in one file. Normally this is a thing which should be better solved at application side, because only the application knows which packages to load at what situation. Maybe you want to have a look at the package preset in framework/tool/ presets. You can invoke it using generator.py --from-file presets/ packages.dat. I am really interested in any feedback regarding this - a little bit hidden - feature. I am really interested of the use cases of qooxdoo for Juniper. Can you tell us about your work? Would be really appreaciated. Regards, Sebastian > > If qooxdoo is able to implement this then, we would be world > beaters and > out of league for other competitive toolkits. > > These are the major hurdles we are facing and as the size of qooxdoo > keeps on increasing we would get more requests like these. > > Regards > Rahul Sharma > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Leander Hanwald > Sent: Friday, April 13, 2007 5:03 PM > To: qooxdoo Development > Subject: Re: [qooxdoo-devel] Final size > > Hi Jonis, > > only for your information: > With my Linux Firefox 2.0.0.3 it works good and the page loads in > under > 4 seconds. > > Greetings, > Leander > > Jonis wrote: >> New! :P >> >> Instead of call external javascript, just put the content on current >> page and gzip it!! >> My results: >> <!-- >> Compression level: 8 >> Original size: 560.87 kb >> New size: 111.34 kb >> Saving: 449.53 kb (80 %) >> Time: 73.5 ms >> Serverload: 0.31 >> --> >> >> Ex: >> <?php >> require_once("spGzip.php"); // PHP-Class that compress the page >> ?> >> <html> >> <head> >> <meta http-equiv="Content-Type" content="text/html; > charset=utf-8" /> >> <title>Estagio</title> >> <script type="text/javascript"> >> <?php >> // Instead of call external script, include on current page >> include("script/estagio.js"); >> ?> >> </script> >> </head> >> <body> >> <script type="text/javascript"> >> if (!qx.IS_SOURCE) { >> > qx.log.Logger.ROOT_LOGGER.setMinLevel(qx.log.Logger.LEVEL_ERROR); >> } >> qx.core.Init.getInstance().setApplication >> (estagio.Application); >> </script> >> </body> >> </html> >> >> >> You can check this information by accessing >> http://intranet.mouralacerda.edu.br/estagio/build/index.php or using >> this url in this test: >> http://whatsmyip.org/mod_gzip_test/ >> >> >> >> Dirk Wellmann escreveu: >> >>> Hi, >>> >>> just tested it with a bigger application and it worked with FF 2 and >>> IE7! Just compressed the xxx.js to xxx.js.gz with gzip. Does anybody >>> know to make tomcat handling these compressed stuff? With apache2 it >>> works, access via Servlet won't work. >>> >>> Regards >>> >>> Dirk >>> >>> Sebastian Werner schrieb: >>> >>>> Hugh Gibson schrieb: >>>> >>>> >>>>>> But why when you load source version the final size is smaller? >>>>>> >>>>>> >>>>> No, it's not. >>>>> >>>>> If you load the source version and then run it under a Javascript > debugger like Firebug you will see hundreds of script files are being > loaded. They add up to a much bigger bunch of Javascript compared > to the > built version. >>>>> >>>>> 512k is small for the amount of functionality you get. And >>>>> consider > that it will be cached by the browser and so won't get sent each time > the user goes to the page. >>>>> >>>>> An important tweak, if your server supports it, is to compress the > script file using gz. We have a custom server here, and if it finds > myfile.js.gz in the folder, and the browser says that it can cope with > compressed scripts, it sends the .gz file. IE7 and FF2 can cope, > and the > compressed script is 20% of the size of the uncompressed script. > That's > a huge improvement. >>>>> >>>>> In fact I don't know why the qooxdoo team don't do this with all > their scripts as it would make a significant improvement to the > initial > perception of their library. >>>>> >>>>> >>>> Hugh, maybe you can contribute something in this area. You help is >>>> really appreciated. What do you think is the best solution qooxdoo > can >>>> deliver? Is gzipping scripts really supported in IE7? I wasn't >>>> aware > of >>>> that they have fixed the issues of IE6 in IE7. Can you point me to >>>> related online resources regarding this topic? Would it be helpful > to >>>> directly generating a gzipped version of the generated script? >>>> Other > >>>> than that, what do you think could be deliver to assist the >>>> users in > >>>> this area? >>>> >>>> Sebastian >>>> >>>> >>>> >>>> >>>>> Hugh >>>>> >>>>> > ---------------------------------------------------------------------- > -- > - >>>>> Take Surveys. Earn Cash. Influence the Future of IT >>>>> Join SourceForge.net's Techsay panel and you'll get the chance to > share your >>>>> opinions on IT & business topics through brief surveys-and earn > cash >>>>> > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDE > V >>>>> _______________________________________________ >>>>> qooxdoo-devel mailing list >>>>> [EMAIL PROTECTED] >>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>>>> >>>>> >>>> > ---------------------------------------------------------------------- > -- > - >>>> Take Surveys. Earn Cash. Influence the Future of IT >>>> Join SourceForge.net's Techsay panel and you'll get the chance to > share your >>>> opinions on IT & business topics through brief surveys-and earn >>>> cash >>>> > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDE > V >>>> _______________________________________________ >>>> qooxdoo-devel mailing list >>>> [EMAIL PROTECTED] >>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>>> >>>> >>> >> >> >> > ---------------------------------------------------------------------- > -- > - >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to > share your >> opinions on IT & business topics through brief surveys-and earn cash >> > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDE > V >> _______________________________________________ >> qooxdoo-devel mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> > > > ---------------------------------------------------------------------- > -- > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDE > V > _______________________________________________ > qooxdoo-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > qooxdoo-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
