Thanks David,
that's what I inferred (not the details though ;-)). For now, as I have to
be quick, following your advice I'll use XML RPC. But for future
implementation,
I'll investigate further.
Stéphane
- Message d'origine
De : David Pratt [EMAIL PROTECTED]
À : Stéphane Brault [EMAIL PROTECTED]
Cc : user-list zope zope3-users@zope.org
Envoyé le : Jeudi, 22 Juin 2006, 8h41mn 34s
Objet : Re: Re : [Zope3-Users] Using twisted spread client within zope
Hi Stephane. It is possible to use a spread client in zope. That said, I
am not sure whether you are attempting to integrate the new pb
(unstable) or currently stable pb. Either way, I cannot provide code for
you but say that this is not trivial. It also requires conforming zope
storages to interact with. Your methods need to interact with the zope's
storages if you want zope to do its thing properly.
This adds significantly to the complexity since the storage internals of
zope take some time to learn and significant time to understand well
enough to modify and construct storages. Once you have tested a suitable
client server, you will also need to modify zope's startup to include
your client service as part of zope's multiservice.
My advice to you is that you may be better off with a web service since
this can be configured easily in zope since you are not involving the
storage layer directly. It is just part of you app.
Regards,
David
Stéphane Brault wrote:
Hi again,
in order to call my twisted process I need to run the spread client within
Zope,
is this possible (maybe through a utility). I'm not sure this would
integrate well
with Zope mainly because of the twisted logic (deferred, ...), but I might
be wrong
(this wouldn't be the first time ;-)). Has someone had any experience with
that ?
Thanks,
Stéphane
- Message d'origine
De : Stéphane Brault [EMAIL PROTECTED]
À : user-list zope zope3-users@zope.org
Envoyé le : Mardi, 20 Juin 2006, 12h59mn 22s
Objet : [Zope3-Users] Using twisted spread client within zope
Hi,
for my application I have to communicate with external web services,
these communications have to be scheduled. That is why I use twisted
processes
to communicate with external servers and zope for the GUI side.
I need to communicate from zope to the twisted processes, has anyone
done that, especially with spread, or do I need to go through http ?
Thanks,
Stéphane
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users