On Wed, Oct 7, 2009 at 16:48, Ian Boston <i...@tfd.co.uk> wrote: > On 7 Oct 2009, at 14:50, Alexander Klimetschek (JIRA) wrote: >> I would refrain from building in an automatic mechanism that creates >> hash-based paths because they are bad ;-) > > Could you elaborate on why they are bad in the JCR ? > (not taking about in URLS exposed to users here, only the JCR)
I think the answer already lies in a) having a URL structure for the public + hashes as jcr paths and b) mapping between them. Why shouldn't the nice/intuitive/readable structure that the web users see (and expect) not be used in the JCR? A custom or special mapping should only be the exception (eg. the ~user directory you mentioned). A common and understandable content structure makes everything simpler - any kind of mapping unnecessarily complicates the life for developers, administrators and other technical users: they have to handle two different models and it's often application logic involved to find the items in question, which is hard to achieve manually. (The same goes for looking up JCR nodes in a typical db bundle persistence manager - it's not intended for the user, but here it's an independent implementation detail). Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com