Question : Running python scripts remotely for generating POSER 6 images via a web server

I am doing a project that uses poser 6.

I need a way by which the user can input some data about himself on some sort of a user interface.
This data is then used internally by the system to generate a poser model of the user on the fly.
I have already written poser-python scripts that create models.

I now need to make the front end.
I need to have a setup in which the user sees a webpage (or a web app) which takes in values and then sends these values to a server which has generates a model on the fly and sends us the link to the renedered image.

I had thought of an ASP.NET page but cannot seem to find a way to trigger the execution of our python script through ASP.NET (as well as pass parameters to the python script of the the users inputs).

Is there a solution through ASP.NET or HTML or javascript or through any method of making the Page, for my problem?
Or should I adopt some other way? If so then please suggest that ...

If I make a PYTHON GUI for this, will it enable the execution of a POSER-PYTHON script?
What is that entity in POSER that enables the pyton script to execute? We hit upon a python22.dll which came with POSER6. Will including that in out project help in anyway?
If yes then how do we include it?

Thanks a million.

- Saurabh Jain

Answer : Running python scripts remotely for generating POSER 6 images via a web server

If you want to make a web front end to a Python script, you basically have to call mod_python in. It is a free module for the Apache web server, available at http://www.modpython.org/ . I'm not sure of what you could do if you are not using Apache as a web server.

If you can't, and you are stuck with ASP.NET and IIS, you have to find a way to run the interpreter on your server, i.e. a command that makes the model generator run, passing parameters to it, and saving the generated image/model on a subfolder of your web hosting.

Luigi
Random Solutions  
 
programming4us programming4us