[development] comments as nodes
earnie at users.sourceforge.net
Tue Jun 5 14:43:58 UTC 2007
Quoting Earnie Boyd <earnie at users.sourceforge.net>:
> Quoting Karoly Negyesi <karoly at negyesi.net>:
>> Ideas are welcome.
> You mention book as a stumbling block. I can envision content types
> of book, chapter, section; there may be more but I'll limit to these
> three for the discussion. I create content for book which gives a
> high level view of the book and then I create child chapters which
> may have section children. Sections themselves may have section
> children. The content type relationship mapping table maps the child
> to the parent and the order (weight) of the child. I can then allow
> a content type I'll call comment to be added by others to the
> section, chapter or book as I choose.
Looking at what I have written I can now envision that content types
should be controlled such that the chapter content type can only be a
child of the book content type and the section content type can only be
a child of chapter and itself.
More information about the development