[Zope3-dev] Re: RFC: Zope.org - AdaptersForMenuItems

Sidnei da Silva sidnei at awkly.org
Mon Jan 12 10:46:37 EST 2004


| OTOH, Sidnei had this idea about menu ordering adapters (IIRC) which 
| sounded cool (although a bit like yagni as well). Maybe he can give some 
| tips in that respect.

Well, nothing much fancy. Just when you want to get the menu items
ordered you would get an adapter to IMenuSorter (or maybe a utility?),
so that people can provide their own policy for ordering menu
items. One could make the order attribute be stored by an
IAttributeAnnotatable adapter and have a IMenuSorter utility to fetch
this info and order the items. Just an idea.

-- 
Sidnei da Silva <sidnei at awkly.org>
http://awkly.org - dreamcatching :: making your dreams come true
http://plone.org/about/team#dreamcatcher

And on the seventh day, He exited from append mode.



More information about the Zope3-dev mailing list