[Zope3-dev] Re: annotations and relations
Derrick Hudson
dman at dman13.dyndns.org
Sat Aug 13 09:14:06 EDT 2005
On Fri, Aug 12, 2005 at 07:54:21PM +0200, Jean-Marc Orliaguet wrote:
| Derrick Hudson wrote:
|
| >On Fri, Aug 12, 2005 at 03:07:33PM +0200, Jean-Marc Orliaguet wrote:
| >
| >| What I don't like about annotations is that the information is stored on
| >| the object itself.
| >
| >FYI the annotations framework can be used while storing the annotation
| >elsewhere. For example
| > http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Zope3Book/principalannotation.html
| >
| >
| >| That's why I'm using relations in cpsskins
| >| (http://svn.nuxeo.org/trac/pub/file/z3lab/cpsskins/trunk/storage/relations.py)
| >| instead of using annotations even for trivial things such has whether an
| >| object is visible or not.
| >[...]
| >
| >I'll have to research this some more. It sounds like some interesting
| >ideas on how to organize and manage the data.
| Hi Derrick!
|
| maybe I didn't explain what the actual issue is:
|
| The problem is not whether the annotation data is stored *elsewhere* but
| whether the annotation data is "tied" with object or not.
Ahh, I see. That is a little bit different.
| If it is tied with the object, then whenever you use annotations to
| store a relation between several objects, you have to store the relation
| twice if the relation is dyadic, to be able to do a reverse lookup:
Yeah, like the classic doubly-linked list.
I'll definitely have to take a look at this relations tool and see how
it works. Thanks for explaining that.
-D
--
If you want to know what God thinks about money,
just look at the people He gives it to.
-- Old Irish Saying
www: http://dman13.dyndns.org/~dman/ jabber: dman at dman13.dyndns.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20050813/1a39f74f/attachment-0001.bin
More information about the Zope3-dev
mailing list