[Zope3-Users] Question about IOrderedContainer interface
Martin Aspeli
optilude at gmx.net
Mon Feb 26 11:35:32 EST 2007
Thierry FLORAC wrote:
>
>
> Hi,
>
> I have a little question about the "IOrderedContainer" interface.
>
> Actually, this interface is derived from "IContainer", and only contains
> a single method, "updateOrder()" which is an updating method.
>
That's pretty silly, it should probably be IWriteContainer :-(
Note that if anyone's fixing OrderedContainer, the default implementation
isn't terribly optimal as well - it uses PersistentMappings and not BTrees.
I've got impementations where I wanted to reuse it but use a BTree, and I've
done things like this:
http://svn.plone.org/svn/plone/plone.portlets/trunk/plone/portlets/storage.py
Martin
--
View this message in context: http://www.nabble.com/Question-about-IOrderedContainer-interface-tf3293814.html#a9162073
Sent from the Zope3 - users mailing list archive at Nabble.com.
More information about the Zope3-users
mailing list