Is it possible to write web-based GUI using Python?

cmkl cmkleffner at gmx.de
Thu Nov 28 07:11:40 EST 2002


Ian Bicking <ianb at colorstudy.com> wrote in message news:<mailman.1038388238.11306.python-list at python.org>...
> On Tue, 2002-11-26 at 22:05, Pierre Rouleau wrote:
> > What I'd like to be able to do is implement a complete GUI-based control 
> > application (with buttons, slider, whatever widgets the app needs) 
> > accessible over the web.
> 
> If you confine yourself to HTML widgets (which does not includes
> sliders, for instance), this is obviously possible -- that's what forms
> are, after all.  If you want widgets beyond what's available in HTML
> (either more responsive/interactive, or simply widgets HTML doesn't
> have, like decent file selection), then you will have to either code up
> a Java applet (potentially in Jython), or write a client application.
> 
> If you write a client application, you can use whatever Python GUI you
> want (Tkinter, wxWindows, etc).  You may wish to communicate to the
> server using XMLRPC.  For something more advanced you could use Pyro
> (pyro.sf.net) or another distributed object system (of which there are
> several).
> 
> There's many examples of XMLRPC servers for Python, and many of the
> Python web frameworks contain XMLRPC support.  You should be able to
> integrate XMLRPC into your web server system, though I'd encourage you
> to consider using a framework.  To choose a framework, see:
>   http://www.python.org/cgi-bin/moinmoin/WebProgramming

Another attempt I know was scgui (partly python powered), see
http://groups.google.de/groups?q=scgui&hl=de&lr=&ie=UTF-8&selm=MPG.15ba35e0db757ae3989ba7%40news.earthlink.net&rnum=1
to build a server side controlled client gui via http.

Just another thing is JAPI (www.japi.de) which was build to get a 
platform independent gui for legacy applications 
(C and fortran based scientific applications in mind). 
But JAPI can also be seen as a server controlled
gui as it is a Java based display demon on the client side 
with all the application code run on the server connected
 via http. The application library code is written in ANSI C, 
so it should be easily swigable.

Just my few Euro Cents

Carl



More information about the Python-list mailing list