You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by David Nuescheler <da...@day.com> on 2007/08/07 10:41:13 UTC
Re: David's Model: A guide for blissful content modeling
Hi,
thanks for sharing the content model.
from my perspective i think the separate workspaces are not justified:
http://wiki.apache.org/jackrabbit/DavidsModel#head-ca639e0ee110b80e8277a50f9b9de092b5d86427
... and personally i would not separate "by type" in the hierarchy.
(or at least not at a root level). i would propose a hierarchy in single
workspace that looks roughly like this...
/artists/david/myproject1/folders
/artists/david/myproject1/folders/a-song.txt
/artists/david/myproject1/folders/a-song.mp3
i would probably use the jcr:mimeType property or an extension
of the nt:resource mimetype to tell your resources apart.
regards,
david
On 8/7/07, paksegu <pa...@yahoo.com> wrote:
> Hi,
> After reviewing "David's Model: A guide for blissful content modeling" what comments and advice can you offer on this approach?
>
> https://www.dev.java.net/files/documents/4363/44912/SerenadeRepository.pdf
>
> Thanks
>
>
> Ransford Segu-Baffoe
>
> paksegu@yahoo.com
>
> https://serenade.dev.java.net/
> http://www.noqturnalmediasystems.com/
>
> ---------------------------------
> Pinpoint customers who are looking for what you sell.
Re: David's Model: A guide for blissful content modeling
Posted by Tako Schotanus <qu...@gmail.com>.
On 8/8/07, Jukka Zitting <ju...@gmail.com> wrote:
>
> Hi,
>
> On 8/8/07, Tako Schotanus <qu...@gmail.com> wrote:
> > On 8/7/07, David Nuescheler <da...@day.com> wrote:
> > > i would probably use the jcr:mimeType property or an extension
> > > of the nt:resource mimetype to tell your resources apart.
> >
> > Except maybe if you plan on adding type-specific properties (not
> something
> > that appears in his model, mind you), like extracts or stripped (text
> > only) versions for the text nodes, thumbnails for the image and video
> nodes
> > and type-specific meta info.
>
> I think David's point was to use the node type or some property of the
> node instead of the location of the node to determine the content type
> and structure.
Ah, ok, in the model the OP used different icons for those categories so I
took them for type definitions (or nodes of a certain type) but maybe that
was just my twisted way of looking at things :-)
Cheers,
-Tako
Re: David's Model: A guide for blissful content modeling
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On 8/8/07, Tako Schotanus <qu...@gmail.com> wrote:
> On 8/7/07, David Nuescheler <da...@day.com> wrote:
> > i would probably use the jcr:mimeType property or an extension
> > of the nt:resource mimetype to tell your resources apart.
>
> Except maybe if you plan on adding type-specific properties (not something
> that appears in his model, mind you), like extracts or stripped (text
> only) versions for the text nodes, thumbnails for the image and video nodes
> and type-specific meta info.
I think David's point was to use the node type or some property of the
node instead of the location of the node to determine the content type
and structure.
BR,
Jukka Zitting
Re: David's Model: A guide for blissful content modeling
Posted by Tako Schotanus <qu...@gmail.com>.
On 8/7/07, David Nuescheler <da...@day.com> wrote:
>
> Hi,
>
> thanks for sharing the content model.
>
> from my perspective i think the separate workspaces are not justified:
>
> http://wiki.apache.org/jackrabbit/DavidsModel#head-ca639e0ee110b80e8277a50f9b9de092b5d86427
>
> ... and personally i would not separate "by type" in the hierarchy.
> (or at least not at a root level). i would propose a hierarchy in single
> workspace that looks roughly like this...
>
> /artists/david/myproject1/folders
>
> /artists/david/myproject1/folders/a-song.txt
> /artists/david/myproject1/folders/a-song.mp3
>
> i would probably use the jcr:mimeType property or an extension
> of the nt:resource mimetype to tell your resources apart.
Except maybe if you plan on adding type-specific properties (not something
that appears in his model, mind you), like extracts or stripped (text
only) versions for the text nodes, thumbnails for the image and video nodes
and type-specific meta info.
I'm not saying that is the way to go, but it might be a reason to choose
type-specific nodes, so that you know what kind of extra data to expect. Of
course you could do the same by adding special mixins for each node
depending on the mime-type.
The only time when you really might need special nodes for each content
category is when you want to make sure that the content is of a specific
type. Dunno, let's say you want to store company letter templates for a text
processor and each has to have a text node and an image with the company
logo. That's a requirement that's easy to express in the model if you have
those content categories defined. If you never going to have those kind of
requirements then David's suggestion is much more flexible.
Cheers,
-Tako
regards,
> david
>
>
> On 8/7/07, paksegu <pa...@yahoo.com> wrote:
> > Hi,
> > After reviewing "David's Model: A guide for blissful content modeling"
> what comments and advice can you offer on this approach?
> >
> >
> https://www.dev.java.net/files/documents/4363/44912/SerenadeRepository.pdf
> >
> > Thanks
> >
> >
> > Ransford Segu-Baffoe
> >
> > paksegu@yahoo.com
> >
> > https://serenade.dev.java.net/
> > http://www.noqturnalmediasystems.com/
> >
> > ---------------------------------
> > Pinpoint customers who are looking for what you sell.
>
Re: David's Model: A guide for blissful content modeling
Posted by paksegu <pa...@yahoo.com>.
Thank you, I really appreciate it.
David Nuescheler <da...@day.com> wrote: Hi,
thanks for sharing the content model.
from my perspective i think the separate workspaces are not justified:
http://wiki.apache.org/jackrabbit/DavidsModel#head-ca639e0ee110b80e8277a50f9b9de092b5d86427
... and personally i would not separate "by type" in the hierarchy.
(or at least not at a root level). i would propose a hierarchy in single
workspace that looks roughly like this...
/artists/david/myproject1/folders
/artists/david/myproject1/folders/a-song.txt
/artists/david/myproject1/folders/a-song.mp3
i would probably use the jcr:mimeType property or an extension
of the nt:resource mimetype to tell your resources apart.
regards,
david
On 8/7/07, paksegu
wrote:
> Hi,
> After reviewing "David's Model: A guide for blissful content modeling" what comments and advice can you offer on this approach?
>
> https://www.dev.java.net/files/documents/4363/44912/SerenadeRepository.pdf
>
> Thanks
>
>
> Ransford Segu-Baffoe
>
> paksegu@yahoo.com
>
> https://serenade.dev.java.net/
> http://www.noqturnalmediasystems.com/
>
> ---------------------------------
> Pinpoint customers who are looking for what you sell.
Ransford Segu-Baffoe
paksegu@yahoo.com
https://serenade.dev.java.net/
http://www.noqturnalmediasystems.com/
---------------------------------
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.