jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: references best-practises?
Date Sun, 24 May 2009 21:52:03 GMT
On Fri, May 22, 2009 at 1:32 AM, Kristian Rink <kawazu@zimmer428.net> wrote:
> (b) Use some "reference property" in order to, in a node, keep some UUID or
> path or whatever telling where to find the actual content.

I'd use a (single or multivalue) string property containing the path
of the reference target. Albeit this requires some extra application
code (especially when the targets are deleted, can be done with
observation), it is the most flexible and transparent approach (paths
are more descriptive than UUIDs and self-made ids need additional
interpretion by application code).

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message