[Checkins] SVN: zope.app.file/branches/3.4/ - Using IDCTimes interface instead of IZopeDublinCore to determine the

Christian Zagrodnick cz at gocept.com
Wed Jun 18 11:34:12 EDT 2008


On 18.06.2008, at 17:23, Fred Drake wrote:

> On Wed, Jun 18, 2008 at 10:46 AM, Christian Zagrodnick  
> <cz at gocept.com> wrote:
>> Log message for revision 87521:
>> - Using IDCTimes interface instead of IZopeDublinCore to determine  
>> the
>>   modification date of a file. [backported from trunk]
>
> I noticed this going in on the trunk, but was too busy to ask this at
> the time:  What's the motivation for this?
>
> (I'm not objecting, but would like to be sure I understand.)

The motivation is that there is a simple interface IDCTimes which  
defines created and modified. The IZopeDublinCore combines IDCTimes  
with a lot other interfaces. There is no need to adapt to the large  
IZopeDublinCore when the simple IDCTimes is enough.

In fact I have a sub class of Image which is not annotatable and gets  
it's created/modified from somewhere else. So I have an IDCTimes  
adapter and started to wonder why the view behaves strange.

Hope that's okay :)

--
Christian Zagrodnick · cz at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 4 · fax +49 345 1229889 1
Zope and Plone consulting and development

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1639 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/checkins/attachments/20080618/5ab5ac70/smime.bin


More information about the Checkins mailing list