CGI to xml

Peter Hansen peter at engcorp.com
Wed Jun 4 15:15:43 CEST 2003


Graeme Matthew wrote:
> 
> Please can i get everyones advice on what im about to do
> 
> I have a single controller.py script that runsa for all reuqests on the
> webserver, it instantiates a cgi object then converts the cgi.FieldStorage
> to an xml file then sends the xml request to an appserver. The cgi request
> could include file uploads.
> 
> Is my method ok or is there a better alternative ?

According to XP, if your method works, it's okay.  Why would you want
anything different?  Do you have a problem with the current approach?
How could we answer any differently without knowing what you want to
accomplish, and what's important to you?

-Peter




More information about the Python-list mailing list