[Zope3-dev] Re: [Zope3-Users] Ordering of subscribers

Jim Fulton jim at zope.com
Wed Dec 15 10:06:10 EST 2004


We have a plan for ordering subscribers:

   http://mail.zope.org/pipermail/zope3-dev/2004-November/012541.html

I need to convert this to a proposal.

Jim

Stephan Richter wrote:
> On Monday 13 December 2004 11:11, Florent Guillaume wrote:
> 
>>What's the current best practice if you have several subscribers to an
>>event that need to be called in a given order ? Or rather, one has to be
>>called after another.
>>
>>It's more a gedankenexperiment than anything else at the moment, but I'm
>>interested in case it's needed for a correct backport for Zope 3 events
>>to Zope 2.
>>
>>Potential use case: on a Modified event, a cataloging subscriber wants
>>to catalog the object *after* it has been annotated by a workflow
>>subscriber.
> 
> 
> I am pretty sure that we are not able to sort subscribers yet, but I remember 
> it being discussed before. I think the best way would actually be to be able 
> to say: this subscriber must be executed before me, like a condition. Maybe 
> an ordering condition would help? I dunno.
> 
> Regards,
> Stephan


-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Zope3-dev mailing list