Skip to content

Are corpora/diaries fundamental ? #60

@christophe-lejeune

Description

@christophe-lejeune

In brief

This discussion suggests to develop the following features/fixes :

  • The name of one diary is distinct from its id.
  • Easily renaming a diary.
  • Renaming a diary from any page.

Introducing the issue

Hypertopic model did not originally requires corpora. However, subsequent developments made interesting uses of corpora.

  • Steatite stores picture files under corpora. Corpus is however not mandatory, given a unsorted pictures are listed under Miscellanea emulated-corpus.
  • Former versions of Cassandre makes use of corpora to store text files. Al tough texts are stores in a database, the server emulates directory-like folders. This behaviour presents practical consequences :
    • In order to upload a text, the user is asked to declare a folder. Experience showed that users barely respect suggested rules in this matter.
    • Corpus are included in the item's URI. Currently, University of Liege is using this feature in order to filter corpus URI and/or provide customized access.

Next version of Cassandre inherits the former corpus design. However, given next version will be based on diaries, emulated folders will stand for diaries (rather than corpus). Consequences are, once again, contrasted.

  • Advantage. Given that each memo's URI includes a diary name, user access can be easily managed from outside Cassandre server (as done by University of Liège)
  • Drawback. Cassandre development have to consider that users choose their own diary's name. Natural language specificities have thus to be (URL)encoded in order for the URL to remain efficient (how unexpected the diary name could be). In some cases (namely, the KWIC feature), this could become tricky, given some URLs are rewritten by Apache, by a PHP script and by CouchDB.
  • Drawback. This behaviour forces each memo to belong to a diary/corpus. Such a requirement sounds artificial, for two reasons:
    • When a user write down a reflection, (s)he is not necessarily aware (yet) of the research/corpus this memo is likely to contribute in the future.
    • A memo could contribute different researches at the same time.

What precedes advocates for the deletion of the corpus in the URI path. However, this would imply that next version of the server would not be released until user management could be fully integrated into Cassandre. I am afraid this option may compromised any release for a while.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions