[wxPython] wxpython: can I use wxpython for web authing ??

Is it possible to use wxpython to develop web applications ? I think I'm probably barking up the wrong tree but I thought I would ask as lots of things are possible that I don't know about. I basically want to write an web server based app with GUI components. I really love python and would prefer to use it. The only other alternative that I know of is Java. I need security functionality as I want to access my back accounts.

As far as I know Java doesn't have the cross platform look and feel that wxpython does. Maybe Java does have that capability but I've never used Java so I don't really know. Maybe it's one of the differences between AWT and Swing but again I don't know anything about them (yet).

If wxpython or python are not an option, then can people suggest other options or pointers on where to look. Please email me directly if it is off topic for the wxpython mailing list.

Thanks for any advice, suggestions and pointers. I hope wxpython is useable for this purpose.
Brendan Simon.

This depends on what you mean.

You can naturally write a apps with a GUI that communicate with
a web server in almost any language, and with a lot of different
tool kits.

But if you want anyone to be able to run your apps without
installing any "non standard" components and with several client
platforms, I think you are stuck with Java.

You can still use Python syntax through the Java implementation
Jython though. (www.jython.org) But it will be AWT or swing for
the GUI. But you're not stuck with the "metal" look. You can make
Java look like native apps (right?).

It's not really any fundamental difference, but most people install
a Java runtime and a web browser on their PC. Thus they have what
they need to run java programs. Java also provides convenient
mechanisms for loading of additional libraries over the internet,
but with thin clients and the substantial processing in the server,
that might not be so imprtant.

To be able to run wxPython programs, you need to have Python and
wxPython (and possibly other libraries) installed on the client.
But is this really so difficult? And do you (in real life) have
any platforms except windows to care about? If you do, Java gives
a wider choice than wxPython.

Then one can question whether you really need a GUI or HTML forms
etc will be able to provide a sufficient user interface. There are
many options for writing web applications using Python. See for
instance the list of python apps for the web at:
http://www.thinkware.se/cgi-bin/thinki.cgi/PythonSoftware

It might be worth taking a closer look at Webware, Quixote and
Zope for instance.

Depending a bit on what kind of application you are considering,
it might well be possible to write all the server code in python
and there are different options for the UI, either some simple
Java applet, a HTML-based UI on a web server, or something built
in wxPython, VB or whatever.

···

At 14:07 2001-11-21 +1100, Brendan wrote:

Is it possible to use wxpython to develop web applications ?

--
Magnus Lyckå, Thinkware AB
Älvans väg 99, SE-907 50 UMEÅ
tel 070-582 80 65, fax: 070-612 80 65
http://www.thinkware.se/ mailto:magnus@thinkware.se

Hi, Since I haven't seen anyone else mention it, it's probably not
relevant, but... I haven't explored what it means yet, but in my latest
upgrade of Apache, there's a "mod_python"...

···

On Wed, 21 Nov 2001, Magnus Lyckå wrote:

At 14:07 2001-11-21 +1100, Brendan wrote:

>Is it possible to use wxpython to develop web applications ?

This depends on what you mean.

You can naturally write a apps with a GUI that communicate with
a web server in almost any language, and with a lot of different
tool kits.

But if you want anyone to be able to run your apps without
installing any "non standard" components and with several client
platforms, I think you are stuck with Java.

You can still use Python syntax through the Java implementation
Jython though. (www.jython.org) But it will be AWT or swing for
the GUI. But you're not stuck with the "metal" look. You can make
Java look like native apps (right?).

It's not really any fundamental difference, but most people install
a Java runtime and a web browser on their PC. Thus they have what
they need to run java programs. Java also provides convenient
mechanisms for loading of additional libraries over the internet,
but with thin clients and the substantial processing in the server,
that might not be so imprtant.

To be able to run wxPython programs, you need to have Python and
wxPython (and possibly other libraries) installed on the client.
But is this really so difficult? And do you (in real life) have
any platforms except windows to care about? If you do, Java gives
a wider choice than wxPython.

Then one can question whether you really need a GUI or HTML forms
etc will be able to provide a sufficient user interface. There are
many options for writing web applications using Python. See for
instance the list of python apps for the web at:
http://www.thinkware.se/cgi-bin/thinki.cgi/PythonSoftware

It might be worth taking a closer look at Webware, Quixote and
Zope for instance.

Depending a bit on what kind of application you are considering,
it might well be possible to write all the server code in python
and there are different options for the UI, either some simple
Java applet, a HTML-based UI on a web server, or something built
in wxPython, VB or whatever.

--
Magnus Lyckå, Thinkware AB
Älvans väg 99, SE-907 50 UMEÅ
tel 070-582 80 65, fax: 070-612 80 65
http://www.thinkware.se/ mailto:magnus@thinkware.se

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

--
Kevin Cole, RHCE, Linux Admin | E-mail: kjcole@gri.gallaudet.edu
Gallaudet Research Institute | WWW: http://gri.gallaudet.edu/~kjcole/
Hall Memorial Bldg S-419 | Voice: (202) 651-5135
Washington, D.C. 20002-3695 | FAX: (202) 651-5746

I guess we're heading far OT here, if I may simplify slightly, mod_python
and mod_snake (and pyapache?) are modules that embed a python interpreter
in Apache. The advantage compared to CGI scripts are that you don't need
to load the python interpreter on each call, and that's a big boost to
performace, and you can retain state between calls.

See http://www.modpython.org and http://modsnake.sf.net

···

At 11:23 2001-11-21 -0500, you wrote:

Hi, Since I haven't seen anyone else mention it, it's probably not
relevant, but... I haven't explored what it means yet, but in my latest
upgrade of Apache, there's a "mod_python"...

--
Magnus Lyckå, Thinkware AB
Älvans väg 99, SE-907 50 UMEÅ
tel 070-582 80 65, fax: 070-612 80 65
http://www.thinkware.se/ mailto:magnus@thinkware.se