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

cmkl cmkleffner at gmx.de
Fri Nov 29 12:00:09 EST 2002


stephan.diehl at gmx.net (Stephan Diehl) wrote in message news:<f199e60.0211290156.729446bc at posting.google.com>...
> "David Mitchell" <djmitchell at NOSPAM.optushome.com.au> wrote in message news:<pan.2002.11.27.20.00.00.396116 at NOSPAM.optushome.com.au>...
> > On Tue, 26 Nov 2002 23:05:34 +0000, Pierre Rouleau wrote:
> > 
> > (snip)
> > > 
> > > 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.
> > > 
> > > Is this possble with Python?  If so, where the best place to start looking?
> > 
> > I'm looking for exactly the same thing.  I know Perl has the
> > CGI::Widget::* modules which do pretty much exactly this, but I don't want
> > to use Perl for this particular project.
> > 
> > Regards
> > 
> > Dave Mitchell
> 
> While researching the web about the same question, I found
> http://www.nextapp.com/products/echo/
> With that (ahem) Java Framework, it is possible (at least they claim)
> to write a web application just like a normal GUI application.
> On the Python side, at least Alex Martelli has thought about providing
> a HTML backend to anygui
> (http://anygui.sourceforge.net/platforms.php).
> If this ever worked it'd had the advantage to have one codebase for
> the webapp and a native GUI for the same app.
> If one is only looking into a way to separate HTML and programming
> logic, Cheetah (cheetahtemplate.org) can be used to write a kind of
> widget set.
> 
> Cheers
> 
> Stephan

It seems to be rather difficult to get a standard answer to 
the question:

"how to develop highly responsive interactive web applications"

A lot of effort is going to webify applications with Java Struts 
and similar techniques. You can create highly dynamic but still 
page based web apps. The more interactive the application is -  
a lot of ui updates necessary within user interaction - the more
network traffic and page rendering by the browser has to be done.

You can use Java applets but many people dont like it because
of its akward AWT based user interface.

Of course there are similar python techniques to the latter.

Some other web based client server projects I am aware of:

XWT is an interesting project (www.xwt.org). It is browser 
and OS independant. It only needs a Java or ActiveX enabled
browser on the client side and supports a self installing
thin client component (ActiveX component or Java jar file).
The ultimate solution for the software deployment problem?
Not python enabled so far, but they discussed the usage
of Jython rather than Rhino as scripting framework inside
the Java based client component.

Picogui (www.picogui.org) is another one with a rather fat
client software to display (potentially python based) 
applications over the web.

And there is curl and .....

I am interested in a discussion of usuable and reliable 
frameworks for this problem (beside Struts and Java applets)

Carl



More information about the Python-list mailing list