[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] language for web frontend to python backend
From: |
Ian Haywood |
Subject: |
Re: [Gnumed-devel] language for web frontend to python backend |
Date: |
Wed, 09 Feb 2005 08:30:51 +1100 |
User-agent: |
Mozilla Thunderbird 0.8 (X11/20041012) |
catmat wrote:
Can work be started with doing a xml-rpc service ? Or someone defining the
interface for the service ? (And let others write to that interface).
I think XML-RPCising the whole business layer is a bad idea, as well as
Karsten's
objections, I think it will be too slow, as it means making 20-30 XML-RPC calls
for each web page load.
Instead I would suggest a "high-level" web-specific server, with 1 function
exposed
to XML-RPC for each web page load. This doesn't return HTML, but instead a
Python
dictionary with all the required fields which the web layer templates can use
directly.
Because the web layer would *just* be a templater (IOW the "V" of MVC), PHP
under Apache
is the best option IMHO,
Session state would reside with the XML-RPC server, again I'm proposing the
server use fork () for
each user login.
Ian
signature.asc
Description: OpenPGP digital signature