Skip to main content

Completely New Page Organisation

Overview

Changes for two concepts:

  1. Organising Content: Potentially infinite nesting of collections, which are an ordered list of collections and topics
  2. Reusing Page Content: any content can be 'mounted' into collections.

Organising Content

  • Collection* (Shelve)
    • Collection* (Book)
      • Collection (Chapter)
        • Collection ...
        • ...
        • Topic (Page)
        • ...
    • ... (Book)
  • ... (Shelve)

Topic (Page)

A topic is HTML5 Text with it's respective media.

Collection

A collection is a sorted list of topics and (sub)collections.

Collections are typed and parameterized:

  • Shelves are collections which can only contains Books
  • Books are collections which can only contain Chapters
  • Chapters are "normal" collections which can contain collections and topics

Reusing Page Content

Any content can be added multiple times to any collection.

Reference counting is used and content is only deleted until it does not appear in any collection.

Implementation idea:

All Editors have a "Scrapbook" where newly created topics are added to automatically, even if it is added initially to a book or chapter.  So even if content is removed from all books, it still appears in the scrapbook.

If an Editor account is deleted it can be decided to move over orphaned topics to a different account, a global scrapbook, or to delete it definitely

If a topic is removed from the last book and the creating Editor account does not exist anymore it can be decided if it is moved to a different account, a global scrapbook or deleted.