Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Modeling XBlock Field Data on Components #79

Open
ormsbee opened this issue Sep 13, 2023 · 0 comments
Open

Draft: Modeling XBlock Field Data on Components #79

ormsbee opened this issue Sep 13, 2023 · 0 comments
Labels
data model Anything relating to the relational models or more abstract "model" concepts around Learning Core.

Comments

@ormsbee
Copy link
Contributor

ormsbee commented Sep 13, 2023

Just jotting this down quickly for now, to expand on later (because I've had this open in a window for a week now and not hit the submit button):

Learning Core

  • RawContent + TextContent for the OLX
  • RawContent + TextContent for any supplementary filesystem data needed by the server for unit rendering, e.g. the HTML file that accompanies HTMLBlock.

External

  • Multiple models for different aspects of XBlocks (e.g. scoring)–more granular separation than just settings vs. content.
  • All unrecognized fields can go into a model with a JSONField–this is the generic XBlock field store. Though individual XBlocks can add their own custom tables later.
  • Like progressive enhancement on data models.
@ormsbee ormsbee added the data model Anything relating to the relational models or more abstract "model" concepts around Learning Core. label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data model Anything relating to the relational models or more abstract "model" concepts around Learning Core.
Projects
None yet
Development

No branches or pull requests

1 participant