Muntjac 1.0.3

Web application GUI toolkit
Muntjac is a web application GUI toolkit.

Muntjac is a translation of Vaadin to the Python programming language. It is similar to GUI toolkits for desktop applications, such as PyQT, wxPython and PyGTK. However, it can be used to create dynamic, browser independent, web applications. There is no need to write HTML, Javascript or RPC code, just server-side Python.

Quick Start

Define a subclass of Application:

class HelloWorld(Application):

 def init(self):
 main = Window('Hello window')
 self.setMainWindow(main)

 main.addComponent(Label('Hello World!'))


Pass the application class to a servlet, wrap the resulting WSGI application in session middleware and serve:

wsgi_app = ApplicationServlet(HelloWorld, debug=True)

wsgi_app = paste.session.SessionMiddleware(wsgi_app)

httpd = wsgiref.simple_server.make_server('localhost', 8080, wsgi_app)
httpd.serve_forever()


Navigate your browser to http://localhost:8080/.

last updated on:
November 27th, 2011, 20:19 GMT
price:
FREE!
developed by:
Richard Lincoln
homepage:
www.muntiacus.org
license type:
AGPL v3 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

What's New in This Release:
  • Catching 1Mb memcache limit errors in session middleware.
  • Fixed date formatting and currency parsing in sampler.
  • Fixed infinite loop in handleVariableBurst().
read full changelog

Add your review!

SUBMIT