jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra" <tobias.bocane...@day.com>
Subject Re: Are the node types the root of evil ?
Date Mon, 14 Apr 2008 17:08:08 GMT
it depends on the use case. but in general i agree that
nt:unstructured is sufficient for most apps.
the restriction that nodetypes can't be changed (reregistered) is a
problem of jackrabbit which will be fixed soon. also the lack of
altering the nodetypes of existing node is something that is addressed
in jcr283.

stefano and david wrote some interesting articles about that:


regards, toby

On 4/14/08, Ivan Latysh <ivanlatysh@gmail.com> wrote:
> Charles Johnson wrote:
> > Surely this is analagous to constraints and referential integrity through
> key relationships in the RDBMS model? The same things could be said about
> dispensing with anything other than application layer integrity and
> validation in that model.
> >
>  You can alter RDBMS structure, when JR missing such functionality.
>  (I haven't checked latest release, yet)
>  So unless you are 200% sure of what you have to have, don't use NodeTypes.
>  So far we alter structure this way:
>  backup (with JCR-Backup) -> change node types -> create new repo -> update
> backed-up XML -> restore it.
>  --
>  Ivan Latysh
>  IvanLatysh@gmail.com

View raw message