Andreas Hartmann schrieb:
(...)
just FYI -  attached you find an annotated class diagram of a
repository API draft, based on thoughts by Felix Roethenbacher
and me. I'm not sure if we'll could finish and integrate it in 1.4,
but nevertheless I think it is worth discussing.
(...)

Hi Andreas,
a couple of questions / comments

- do I understand correctly that the MetaDataRegistry is the place telling us what kinds of meta-data exist, and within these types, what individual attributes ?

- What exactly is the relation between ContentNode and Document ?
- How are assets handled ? Are they ContentNodes ?

Regarding the comment "I'm not sure if a site node should be able to reference a document, a content node, or maybe both" -> IMO that depends on how the relation between ContentNode and Document is defined (see above)

Maybe it would be helpful to instantiate this model on a scenario ?
For example, what would it look like if
- we have a root document named "My Life"
- this document has some XHTML text, and an asset "mymotorcycle.jpg"
- this document has a child document "My Hobbies"
- the child document has some XHTML text, and two assets: "lasttrip.pdf" and "mymotorcycle.jpg" (i.e. references the same asset as the document "My Life")

WDYT ?

--
Wolfgang

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to