gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] gnumed ideas 0.1 and post-0.1 (was Time for a major r


From: catmat
Subject: Re: [Gnumed-devel] gnumed ideas 0.1 and post-0.1 (was Time for a major re-think in 2005)
Date: Fri, 28 Jan 2005 22:53:07 +1100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041231

Ian Haywood wrote:


#!/usr/local/bin/python2.4
debug = True import sys, cgi
import cgitb
cgitb.enable()

Don't use CGI, this won't work well with our middleware layer. (you would have to re-instantiate
clincial objects for every page load -- seriously slow)

Use the python HTTP server classes instead to allow persistent objects.

Ian

I was going to suggest have a unix socket server interface for persistent objects for the cgi to call,
or simple xmlrpc layer between the cgi and backend.
Just thought apache gives extra flexibility for later configuration, than say simple http server.
(I was going to say , more secure too, but that might be debatable ).








reply via email to

[Prev in Thread] Current Thread [Next in Thread]