[Zope-CMF] Portal Folder's timestamps

Ausum Studio ausum_studio@hotmail.com
Mon, 28 Apr 2003 22:32:08 +0000


Well, in that case I'm afraid that the usual answer isn't enough.  The issue 
of  PortalFolders about carrying or not timestamps, isn't contraindicated 
with its current objectives, is it?  :)



Ausum



>From: Florent Guillaume <fg@nuxeo.com>
>To: ausum_studio@hotmail.com
>CC: zope-cmf@zope.org
>Subject: Re: [Zope-CMF] Portal Folder's timestamps
>Date: Mon, 28 Apr 2003 21:36:06 +0200
>
>In article <OE20ZxNIeA8UJ4Epktk0000162c@hotmail.com> you write:
> > Has anyone else needed to store a portal folder's creation date? How did 
>you
> > sorted this out? I'm in the need to keep at least its creation date, and
> > I've chosen to modify PortalFolder.py to store the creation and 
>modification
> > time, so that they could be able to be sorted by those timestamps when
> > displayed in any folder contents display.
> >
> > While it possibly doesn't make sense to let a regular core folder to 
>inherit
> > all of DublinCore's elements, should you consider to allow the creation 
>and
> > modification dates, for the next 1.4 release? IMHO those two are
> > implementation-agnostic enough, and shouldn't be dependable on any 
>metadata
> > set.
>
>I think the usual answer to this is "PortalFolder is not designed to be
>content". It's simply designed to hold subobjects, period. If you want
>more, use a mix of SkinnedFolder and PortalContent.
>
>Florent
>
>--
>Florent Guillaume, Nuxeo (Paris, France)
>+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus