Andr? van Toly <[EMAIL PROTECTED]> skribis:
> >What is possible, though, it to extend from 'standard' builders like 
> >news and images.
> 
> I'm still not so familiar with that. Could you describe in a few points 
> what the advantage is of extending from another builder?

If mynews extends news, then mynews articles will also appear as news
articles (e.g. in <mm:listnodes type="news">). Furthermore, because mynews
articles are indeed news articles, the same relations are allowed. 

The inverse is not true (listing 'mynews' will only result news articles
which are also mynews, and defining mynews->attachments does not mean that
you can make relations from news to attachments too.)

We are experimenting with object-models with 'content' types, in which every
'content' type, like news, images, attachments, people (and not pools,
system builders, categories etc) are extended from an empty 'content'
builder. This cleans up the allowed relations list much (because e.g. you
simply want to allow category->content).

Also in the media-project, extending is used, just to arrange not having to,
but being still able to, choose between video and audio.

 Michiel



-- 
mihxil'  Michiel Meeuwissen
http://www.purl.org/NET/mihxil/

Reply via email to