Skip to content
This repository was archived by the owner on Apr 17, 2020. It is now read-only.
This repository was archived by the owner on Apr 17, 2020. It is now read-only.

handle data-related fields in a robust way #6

@robindemourat

Description

@robindemourat

Currently storing-expansive data such as base64-encoded image and tables' data is stored directly in their related objects (e.g. story metadata for covers, resources for table data, resources or contextualizers for base64-encoded images).

This initial choice is relevant when goal number 1 is sustainability and robustness of peritext stories files for use cases such as articles or students work. This is less realistic for handling data-intensive or image-intensive book-length stories.

It should be possible to handle data differently. Ideas :

  • storing these expansive fields values as refs resolved else where (an assets field at story's level ?) so that the question of their retrieval is separated from the story contents themselves (and can be loaded without them for instance)
  • store a url instead of direct data (or - more advanced - store some http query params to access an api and retrieve the data)
  • store a reference to a local file being stored elsewhere

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions