jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tako Schotanus" <quinte...@gmail.com>
Subject Re: DM Rule #5: References considered harmful.
Date Tue, 10 Jul 2007 20:15:01 GMT
On 7/10/07, David Nuescheler <david.nuescheler@gmail.com> wrote:
> Hi Tako,
>
> thanks for your comment and for the excellent example ;)
>
> > /myapp/config/users/joe
> > /myapp/config/users/jane
> > /myapp/config/users/tarzan
> >
> > /myapp/docs/some-doc1/@owner = 'jane'
> >
> > where I just refer to the specific nodes in the users section and to
> > find those users I have a special configuration section:
> >
> > /myapp/config/paths/users = '/myapp/config/users'
>
> This is precisely how I would have modeled it as well.
>
> If there is anything contradictory in the "rules", it is very likely a
> mistake and should be corrected. Is there anything in particular
> that you had in mind?

No no, just reflecting on the fact that I miss referential integrity
in JCR paths :-)

I'm one of those people who think that things like that should be
explicitly declared instead of having to figure out the constraints
from docs (yeah sure) or code.

Cheers,
 -Tako

Mime
View raw message