Skip to main content

Diigo Home

pyjamas - The Diigo Meta page

pyjamas.sourceforge.net - Cached

This link has been bookmarked by 9 people . It was first bookmarked on 06 Oct 2008, by Dirk Jende-Holzmann.

  • 21 Jan 09
    directrix1
    Edward Flick

    build AJAX apps in Python (compiles to Javascript)

    • pyjamas



      build
      AJAX apps in Python (like Google did for Java)
  • 01 Dec 08
  • 16 Oct 08
    imrchen
    Roger Chen

    pyjamas is a stand-alone python to javascript compiler, an AJAX framework / library and a Widget set API.

    python programming tools

  • 15 Oct 08
  • 12 Oct 08
  • 07 Oct 08
    gialloporpora
    gialloporpora

    Like GWT, pyjamas involves the translation of the application and libraries (including UI widgets and DOM classes) to Javascript and the packaging up of that Javascript code.
    There are two core developer tools included with pyjamas. pyjs[1] translates Python code to Javascript by walking the Python abstract syntax tree and generating Javascript.

    In many cases, built-in Python types require a custom Javascript implementation. For example, even though Python lists are similar to Javascript arrays, Python lists are converted to custom objects that implement methods such as append. These custom objects, required for translation by pyjs, are defined in a library called pyjslib.[2]

    Like GWT, pyjamas comes with a set of UI widgets as well as a library for DOM manipulation.[3] These libraries are written in Python but are, like everything else, translated to Javascript for deployment.

    The overall translation of individual components is managed by build[4] which also creates the necessary boilerplate code. The result is a set of .html and .js files that can be served up by a Web server.

    There are other components planned which have not been covered here such as server-side code for communication in client-server applications. The examples do however contain JSONRPC server-side source code (in cgi python, and php) which give an idea of what's involved

    programming python javascript

  • 06 Oct 08
  • 02 Oct 08