Am Dienstag, den 14.09.2010, 11:28 +0200 schrieb Stefan Andersson: > Making a small application with two select boxes and two labels > including logics is about 600 KBytes! I don't think it is a small > application.
Wow - thats much logic for this little form ;) Yes you're right - this is not small, but it's smaller than one big piece of code with 1,2 MB. And yes you're right again - there is place for improvement (and good suggestions like yours). No question about this. The question is - who realises this improvement (your suggestions). I can't do it. So I have to wait until someone does ist for me and the time I have to wait I'm happy, that I've got something that offers me the possibility to have half as much code as I would have without the generator (600KB instead of 1200KB). > > This has been an issue here from different perspectives. > > There is a good generator in place. Actually the best innovative > design of qooxdoo. It handles packages and can by that minimize size > of an application and also choose what parts of qooxdoo which is > needed on a class level. Great so far! > > Here comes a proposal: > > Not to break heritage etc. of the structure of qooxdoo I suggest: > > 1. to look over dependencies between classes and if it can be changed > to make an application slimmer > 2. let the generator remove ALL functions not called to minimize the > application size. In config.json there can be introduced a definition > clause preserving certain functions in certain classes and modules. > This would really minimize the size of an application. Today there is > a lot of dead code transported over Internet and never called. > > After applying this solution you do not need to worry about code size. > You can add all necessary functions and rate them with for example a > generator directive to be used at generation. This could be the third > and final production step before launching the application a so called > super-build. I have not seen this solution in any of the other > frameworks so far. > > Any comments on this? Would be great :) Claus > > Stefan > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
