I've actually used Waldemar's media generator in a project (like, 5 years ago), and found it a bit difficult to set up, but once it was running it was incredible. All the headaches of generating, compacting, amalgamating, hashing blah blah blah javascript were just gone.

On 2012-06-15 16:57, Joe Ryan wrote:
Hi Waldemar,

This does look pretty useful, thank you!

Joe

On Friday, June 15, 2012 3:44:40 AM UTC-7, Waldemar Kornewald wrote:

    Hey Joe,
    since you're using Django you could try django-mediagenerator (an
    asset manager) to compile your Python source to JS - standalone
    without the GWT-like Pyjamas libraries. See here for an intro:
    
http://www.allbuttonspressed.com/blog/django/2010/11/Offline-HTML5-canvas-app-in-Python-with-django-mediagenerator-Part-1-pyjs
    
<http://www.allbuttonspressed.com/blog/django/2010/11/Offline-HTML5-canvas-app-in-Python-with-django-mediagenerator-Part-1-pyjs>


    I don't maintain that project, anymore, but it could still be
    useful for what you want to do. As described in the post above,
    there's a pyjs filter in mediagenerator which automatically tracks
    your client-side Python files for changes and automatically
    recompiles them when necessary. You might have to update the pyjs
    filter to work with the latest pyjs version, but that should be
    relatively easy. The performance of pyjs is not bad and you can
    set compilation flags such that you have the best compromise
    between performance and Python support.

    Cheers,
    Waldemar

Reply via email to