[z3-five] Does Five support Local Utilities?

Philipp von Weitershausen philipp at weitershausen.de
Tue Sep 19 10:24:11 CEST 2006


Chris Withers wrote:
> Does Five support local utilities?

Short answer: yup.

> If so, what version of Five/Zope do I need?

Five 1.2 introduced a local site manager implementation with a much 
simpler, but slightly weird API for easy component registration. At the 
time, local utilities were really complex to do in Zope 3, so Five 
certainly made it easier, but perhaps too easy. What Five does in 
versions 1.2 thru 1.4 really is a cheat.

Zope 2.10/Five 1.5 allow you to use Zope 3.3's new local component 
registries which make things vastly simpler in both Zope 2 and Zope 3. 
And it's certainly cleaner in Zope 2, also because Zope 2 doesn't invent 
its own machinery but uses the standard one from Zope 3.

> Are there any example out there?

I think CPSSharedCalendar uses the old style Five utilities (Lennart can 
tell you more), but I guess it'll be ported to the new way as well.

Martin Aspeli and Hanno Schlichting have some good examples for local 
utilities done the Zope 3.3 way. Search their blogs or wait for their 
replies :)

Philipp



More information about the z3-five mailing list