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

Shane Hathaway shane@zope.com
Thu, 05 Dec 2002 10:06:14 -0500


Maik Jablonski wrote:
> Including "orderness" in the default folder will help people preventing 
> doing this lousy 
> "add-a-order-property-or-have-a-wired-naming-for-ordering-schema". 
> That's what the proposal tries to solve... For me "orderness" is one of 
> the main advantages of ZOPE in prior of a simple file-sytem. For me it's 
> a 
> "this-is-a-ZOPE-feature-which-not-many-other-competitors-have"-argument. 
> If you want to sale ZOPE, you should think in terms of cool features. 
> And a OrderedObjectManager is a really cool feature.

If this is actually the prevailing opinion then maybe it really is 
important.  But I think of this kind of stored order the same way I 
think of the stored order in a directory on the filesystem, or the order 
of the items in a Python dictionary.  There is a default order, but no 
one uses it.  It is unreliable, unpredictable, and no one expects the 
order to be preserved.  Order preservation is accidental.

In Zope 3 it will be possible to configure this choice.  You'll be able 
to say that when the user asks to create a "Folder", they really get an 
OrderedFolder object.  In Zope 2 there is no clean way to make this 
decision.

It seems to me that a little patience would be prudent, folks. :-)

Shane