[Zope3-dev] zwiki: performance of findChildren()
Max M
maxm@mxm.dk
Tue, 22 Apr 2003 12:56:36 +0200
Shane Hathaway wrote:
> I wouldn't introduce a true hierarchy into Wikis, either.
>
> Instead, to satisfy both needs (simplicity and scaleability), Wikis
> should depend on an external component that keeps track of Wiki
> structure. The simple version of the component should store Wiki
> structure information as annotations on Wiki pages. The scaleable
> version should either build an index, cache, or rely on an object hub
> in some way. I might call this the "Wiki page relationship" service.
> This service should be notified of every change to a Wiki page. This
> service should answer any useful query about the relationship between
> Wiki pages.
>
> FWIW, ZWiki for Zope 2 seemed to progress in a direction similar to
> this. Instead of figuring out their own parentage, ZWiki pages
> delegate relationship computations to a temporary class instance. The
> difference I'm suggesting is that the relationship manager should be a
> configurable, persistent component instead of a temporary instance of
> a fixed class.
Please look at::
http://www.zope.org/Members/maxm/productList/mxmRelations
Which could easily do this.
regards Max M