Re: Re: [Plone-developers] auto-sortable folders

Alec Mitchell <apm13-WLbs8XpHrcb2fBVCVOL8/[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel,gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
On Thursday 02 March 2006 07:50, Encolpe Degoute wrote:
> Wichert Akkerman a écrit :
> > Previously Encolpe Degoute wrote:
> >>In ATCT.
> >>SortFolder must be a separate type, like SmartFolder.
> >
> > I disagree. Users will not know in advance if their folder will be
> > manual or automatically sorted and will want the ability to switch.
> > Anything else will be very frustrating for them.
>
> They will can make copy/paste between standard Folder and SortFolder.
> The point is to let Folder implementation as simple as possible.

The CA lets us have the best of both worlds, a simple folder implementation 
and a resable sorting adapter that works on any folder however simple or 
complex.  I suggest storing persistent sort parameters in an annotation, and 
making an implementation (or at least a set of interfaces) that might be 
useful in a pure zope3 environent.

Alec


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.