2007/6/11, Evgeny Egorochkin <<a href="mailto:phreedom.stdin@gmail.com">phreedom.stdin@gmail.com</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Monday 11 June 2007 14:29:10 Mikkel Kamstrup Erlandsen wrote:<br>> 2007/6/10, Evgeny Egorochkin <<a href="mailto:phreedom.stdin@gmail.com">phreedom.stdin@gmail.com</a>>:<br>> > > > We need to agree on a consistent Source naming.
<br>> > > > Source-Source Item examples:<br>> > > > Filesystem -File<br>> > > > Archive -ArchiveItem<br>> > > > Email -Attachment<br>> > > >
<br>> > > > It seems resonable to adopt either:<br>> > > > * this is contained in a [Filesystem,Archive,Email]<br>> > > > * this is a [file, archiveitem, attachment]<br>> > > >
<br>> > > > But not the both at the same time.<br>> > ><br>> > > Right. This is tricky. I really think the "this comes from"-metaphor<br>> > > is the closes to the intention. The "this is a"-metaphor is already
<br>> > > what categories imply.<br>> > ><br>> > > Because of this I also think that Mailbox is a better source name than<br>> > > Email.<br>> ><br>> > Here Email corresponds to Attachment. That is we are dealing with an
<br>> > Attachment that is contained in a Email.<br>> ><br>> > > The Attachment is more subtle because in some way it does make sense<br>> > > to say that "holiday1.jpg comes from an attachment", I can easily
<br>> ><br>> > imagine<br>> ><br>> > > several arguments against this metaphor but it is really not a clear<br>> > > cut case.<br>> ><br>> > How about File vs FileSystem?<br>
><br>> I think I better clarify what I mean. Here's a list of sources:<br>><br>> - Filesystem : The object data is stored on the fs<br>> - Archive : The object data is contained in an archive<br>> - Mailbox : The object data has been extracted from a mailbox
<br>> - Attachment : The data of this object is stored as an email attachment<br>><br>> The metaphor is "the content of this object is stored in".<br><br>The objection I have here is that Attachment should be Email. Since that's
<br>where attachments are stored. As you know attachment is just another part of<br>an email. Stored *in* an attachment is a stretch.<br><br>To me personally, it's better the other way e.g. file etc. The reason for this
<br>is:<br>Resource is a Document<br>Resource is a File<br>Resource fileName "xxx"<br>Resource fileLocation "file://path/xxx"<br><br>vs<br><br>Resource is a Document<br>Resource is a Filesystem<br>Resource fileName "xxx"
<br>Resource fileLocation "file://path/xxx"<br><br>Categories imply "is a" definition. Also, source-specific properties apply not<br>to the source as a whole.</blockquote><div><br>It is unclear to me what your prefer... I assume it is the first. Given this I take it you mean that the "is a"-relation should apply to sources as well. In this case the previous examples would become
<br><br>File<br>ArchiveItem<br>Email<br>Attachment<br></div><br></div>In this setup I think "source" is a misleading word, but I can't think of anything better right now (I think there must be at least 30C in the office, my brain is steaming)...
<br><br>Cheers,<br>Mikkel<br>