Python web app. (advice sought)

Michele Simionato michele.simionato at gmail.com
Mon Jan 15 06:17:57 EST 2007


Duncan Smith wrote:
> Hello,
>      I find myself in the, for me, unusual (and at the moment unique)
> position of having to write a web application.  I have quite a lot of
> existing Python code that will form part of the business logic.  This
> relies on 3rd party libraries (such as numpy) which would make porting
> to e.g. IronPython difficult (I would imagine).  I was thinking LAMP
> (the P standing for Python, of course), particularly as I was originally
> encouraged to go for open source solutions.
>
> The application will provide some basic statistical analyses of data
> contained in database tables and associated plots (R / matplotlib /
> graphviz).  There will also be some heavier duty Monte Carlo simulation
> and graphical modelling / MCMC.  The user(s) will need to be able to set
> model parameters; maybe even tinker with model structure, so it will be
> very interactive (AJAX?).
>
> I've had a look at Django, Turbogears and Plone, and at the moment I am
> torn between Turbogears and Plone.

I assume it will be an application with few users and no particular
need for
security. Read PEP 333, use the wsgiref server which is in the standard
library
(starting from Python 2.5+), have a look at Paste and write your own
solution.
At the least this is the way I did it.

         Michele Simionato




More information about the Python-list mailing list