[Zope-Coders] Re: [ANN] Proposed Features for Zope 2.7: OrderedObjectManager

Yuppie yuppie@zedat.fu-berlin.de
Thu, 05 Dec 2002 00:00:36 +0100


Hi Shane!


I make a step back in the tree. Perhaps this point is the reason of our 
different views on the problem:

Shane Hathaway wrote:
> You can achieve these same benefits by maintaining another folder class. 
> Yes, it's one more choice that the user has to make, but AFAIK very few 
> people need to retain arbitrary order in folders (not anyone that I know 
> personally) and those few who need it can make that choice.

Do you mean folders or collections in general?

I can hardly believe you don't know anyone personally using ordered 
folders. But I see two possible reasons for that:

Either the people you know have to solve the same problems other people 
solve with ordered folders, but they are better coders and solve it the 
zope way.

Or they have to solve other problems, because the customers of ZC have 
other needs than other Zope users.

> How often have you wished that filesystem directories retained order?  I 
> certainly never have.  On most Unix systems, the service control scripts 
> in /etc/rc.d/ require order, but order is retained by a naming 
> convention.  It works quite well.

Don't tell me this is the zope way to retain order. Or could you explain 
the beauty of this solution?

BTW: What is this Interface meant for? 
<http://cvs.zope.org/Zope3/lib/python/Zope/App/OFS/Container/IOrderedContainer.py>



I'll go to bed now. And leave you in peace (until tomorrow ;)


Cheers,

Yuppie