[Zope3-Users] Ordering of subscribers

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Dec 13 11:29:43 EST 2004


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
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list