[mod_python] Persistent web-service

Zsolt Barat zsolt at bbm.de
Thu Sep 22 12:35:48 EDT 2005


Graham Dumpleton wrote:

>
> On 16/09/2005, at 3:24 AM, Zsolt Barat wrote:
>
>> Graham Dumpleton wrote:
>>
>>> Still using a separate backend service process or framework is still
>>> probably preferable, with the handlers using XML-RPC or some other
>>> messaging system mechanism to communicate with it. You still have the
>>> issue of having to ensure the backend service is started, but then it
>>> also means your backend service isn't really dependent on Apache and
>>> you could use other means to communicate with it. Ie., Apache just
>>> becomes one type of interface.
>>>
>> hi,
>> this is interesting. i just try to make something like this. a tiny
>> webapplication which connects to a serial port and issues some
>> datarequest. are they already some recommended frameworks (xml-rpc) you
>> aware of which deal with this issue? sample apps?
>
>
> Depends on your requirements and how complicated you need to make your
> server. Simplest means of making a standalone XML-RPC server is with the
> SimpleXMLRPCServer module supplied with Python. This may though not be
> adequate for an event driven system which needs to deal with a serial
> port as well as handle XML-RPC requests.
>
> A more complicated system which you might look at is Twisted. See:
>
>   http://twistedmatrix.com/
>
> It has all manner of stuff for building event driven systems and also
> has components for handling XML-RPC requests which can be used to drive
> and control other parts of the system.

thanks for the hint. i already considerd twisted and just looking into
it. i try to setup a webservice with twisted-web and nevow and try to
using the twisted-serial-module for communicating with the serial-port(s).
it's all a bit hard cause there seems not really good documentation
available. if someone knows about good ressources espacially about
twisted.internet.serialport any hint would be appreciated.

best

zsolt



-- 
bbm kloedenstr. 1 10965 berlin tel ++49 30 69580994 fax ++49 30 69580993

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20050922/13c1bf9c/signature.bin


More information about the Mod_python mailing list