jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Node mapping question: when should I use subnode?
Date Thu, 22 Mar 2007 13:19:28 GMT
Hi,

On 3/22/07, Torgeir Veimo <torgeir@pobox.com> wrote:
> You'd probably want to store tags by their owners, eg
>
> /my:content/users/<user>/tags/<tag>
>
> otherwise you'd have to manage ownership by references, and you'd end
> up with a lot of child nodes under the tags node.

Good point. This really depends on whether you want global tags or
user-specific tags. In fact you could even have both with the proposed
content model, as the tags reference property doesn't really care
where or how the tag nodes are stored.

BR,

Jukka Zitting

Mime
View raw message