Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 24971 invoked from network); 14 Apr 2008 15:48:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Apr 2008 15:48:24 -0000 Received: (qmail 38215 invoked by uid 500); 14 Apr 2008 15:48:24 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 38194 invoked by uid 500); 14 Apr 2008 15:48:24 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 38185 invoked by uid 99); 14 Apr 2008 15:48:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 08:48:24 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nrdufour@gmail.com designates 72.14.220.159 as permitted sender) Received: from [72.14.220.159] (HELO fg-out-1718.google.com) (72.14.220.159) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 15:47:41 +0000 Received: by fg-out-1718.google.com with SMTP id l27so1999216fgb.43 for ; Mon, 14 Apr 2008 08:47:52 -0700 (PDT) Received: by 10.86.1.1 with SMTP id 1mr13581486fga.2.1208181140706; Mon, 14 Apr 2008 06:52:20 -0700 (PDT) Received: by 10.86.83.16 with HTTP; Mon, 14 Apr 2008 06:52:20 -0700 (PDT) Message-ID: <8503442c0804140652x230a3287g7a1d7c0cc4936c66@mail.gmail.com> Date: Mon, 14 Apr 2008 09:52:20 -0400 From: "Nicolas Dufour" To: users@jackrabbit.apache.org Subject: Are the node types the root of evil ? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14985_32841107.1208181140716" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_14985_32841107.1208181140716 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello After using JCR for a good while, I came to the conclusion that nodetypes are useless or even dangereous ;-) Because, after all, once the node type definition is registered and you got tons of nodes using it, you are pretty much locked in that schema, unless you just want to add properties. It seems that the best solution is to have nt:unstructured everywhere and manage the changes yourself. Perhaps like the ruby on rails migration system. Dear mailing list users, what do you think ? -- Nicolas Dufour nrdufour@gmail.com ------=_Part_14985_32841107.1208181140716--