[daisy] Daisy Doc Type inheritance

Robert Cecil rob.cecil at gmail.com
Wed Dec 6 09:22:48 CST 2006


Mark,

Thanks! Actually later after I made that post I arrived at the same  
thought of using delegation to simulate inheritance.

Do you guys know that Daisy Document Types are very similar to Plone/ 
Zope Archetypes?


Thanks

Rob Cecil





On Dec 6, 2006, at 2:58 AM, Marc Portier wrote:

>
>
> Robert Cecil wrote:
>> Has any thought been put into a concept of modeling inheritance with
>> Daisy doc types? For instance, a doc type "Investigator" that  
>> inherits
>> from a more generic "Contact"?
>>
>
> Robert,
>
> short answer: what you ask is not there
>
> as to "putting thought" into it: not over on this mailinglist, at  
> least
> not that I know of, so please be invited to start discussions here,
> draft out requirements, features, query-language-effects, API's (both
> Java and HTTP/XML), prototypes, hints for a solution, actual  
> patches...
>
>
> in the mean time you can achieve similar effects by creating a  
> separate
> 'Investigator' doctype that (next to the additional datafields)  
> just has
> a required linkfield to an existing "Contact" document
>
> of course this is not what you ask for, but it is not unlike how one
> would organize 'inheritance-like' data structuring in a regular RDBMS
>
>
> additional warning: "When you start to like the new hammer, everything
> starts looking like ..."
>
> Daisy is a CMS, not a general purpose RDBMS. If no real additional
> (unstructured) content is involved, then it might be wise to just  
> write
> your own wiki-extension that accesses your own persistency layer
> (regular RDBMS tables) on which you can map your own business  
> objects in
> any OO hierarchy you'ld like... it can also use the repo API to store
> the content-related stuff in a daisy-repo...
>
> HTH
> -marc=
> -- 
> Marc Portier                            http://outerthought.org/
> Outerthought - Open Source, Java & XML Competence Support Center
> Read my weblog at                http://blogs.cocoondev.org/mpo/
> mpo at outerthought.org                              mpo at apache.org
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/site/services/ 
> daisy/daisysupport.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy



More information about the daisy mailing list