Jump to content

Pyjs

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Shellmich (talk | contribs) at 17:50, 17 January 2009 (Updated latest release version and another reference for Pyjamas and Pyjamas Desktop). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Pyjamas
Original author(s)James Tauber, Luke Leighton, Google
Initial releaseMarch, 2007
Stable release
0.4p1 / January 14, 2009
Repository
Written inPython, JavaScript
Operating systemWindows, Mac OS X, Linux
Available inPython
TypeAjax framework, Compiler, Widget set
LicenseApache License 2.0
Websitehttp://pyjs.org

Pyjamas is a port of Google Web Toolkit to Python [1]. It contains a stand-alone Python-to-Javascript compiler, an AJAX Framework and Widget set.

Development

Using Pyjamas, developers can easily write rich media web applications in Python, instead of Javascript. The application is compiled to Javascript. Also included is an AJAX library and widget set that provides access to the DOM model of modern javascript-capable web browsers. The AJAX library and the widget set library are a hybrid mix of Python and Javascript. Just as with GWT, "Pyjamas is not its libraries", and neither is it "yet another AJAX framework".

Pyjamas Desktop

The widget set library that comes with Pyjamas is so similar to PyQt and PyGTK that a port of Pyjamas was made to run Pyjamas applications on the desktop, called Pyjamas-Desktop. The project uses Webkit as the underlying technology, and it is through Webkit that Pyjamas manipulates the DOM model of the application. Pyjamas and Pyjamas Desktop allow writing cross-platform, cross-desktop, cross-browser and cross-widget applications that run on the web and on the desktop[2].

References

  1. ^ Pyjamas project home at google
  2. ^ http://advogato.org/article/981.html Pyjamas - Python Applications for Desktop and Web