I develop multiple websites inside a single framework, where each website has 
several client apps and one server app; when deploying onto development or live 
servers, it is essential to delete the generator cache on the target machine 
before recompiling because otherwise the generator will often screw up the 
compiled code.  Recompiling a single app including populating the cache takes 
over 3 minutes, and deploying to a server requires regenerating all apps.  We 
generate the apps on demand to lessen the load but it’s still not great.

Also, because developing inside a framework and having server and client apps 
that work together, changing code sometimes requires re-running the generator 
for 2 or more apps - this is a pain because they’re in different directories, 
and having a permanent “watchdog” auto-generate does not work well because 
generator.py has such a heavy impact on the system.

I have written an esprima based version of generator.py that can build an 
entire app including analyse resources in around 7 seconds without a cache 
(around 150ms with a populated cache) so I know that massive speed up is 
possible - but I have not had the time to make it release worthy otherwise it 
have been a contrib a long time ago (and more recently the core dev team have 
said they’re doing something similar anyway).

Regards
John


On 10 Sep 2014, at 12:38, Fritz Zaucker <zauc...@oetiker.ch> wrote:

> On Wed, 10 Sep 2014, John Spackman wrote:
> 
>> On the backend and for ?thick? web clients the generator is essential
>> (although slow), although I?m not sure I agree that a lot of code is
>> unused.
> 
> Why does speed matter here? I usually develop with the source version and
> only rarely (when adding a new class or resource) run the generator.
> Especially since source-hybrid became available.
> 
> I usually spend a lot more time on implementing/testing/debugging ...
> 
> Cheers,
> Fritz
> 
> -- 
> Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
> Fritz Zaucker                        +41 62 775 9900 (switch board)
> Aarweg 15                            +41 79 675 0630 (mobile)
> CH-4600 Olten                   fax: +41 62 775 9905
> Schweiz                         web: www.oetiker.ch
> 
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to