[Zope] multipart pushing

Tino Wildenhain tino@wildenhain.de
Thu, 22 Feb 2001 15:03:06 +0100


Hi Ragmar,

Ragnar Beer schrieb:
> 
> Howdy Zopistas!
> 
> I'd like to implement a chat function using the multipart content type and I
> wonder if that is possible with Zope. My idea is to write a python script that
> pushes the content of a database until e.g. the stop button is pressed in the
> Browser. But how would the script know that it's supposed to stop? And would
> such a longtime connection completely occupy one Zope thread so that I'd have
> to increase the number of threads?
> 
> Ragnar

First of all it would not occupy a zope thread but merely an
asynchore-channel.
You would have to go deep into the architecture of zope/zserver to
archieve
such a solution. May be the better way is a irc-server (ircu) anyway.
There are
numerous irc-clients on java basis. 

HTH
Tino Wildenhain