You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adapt content is hierarchical, but currently all models are stored as a flat list of documents. If we want to locate part of this hierarchy, for example, a page and its descendant content, we have to do this in the application tier. This means loading the entire course from the database and examining the documents.
An example use case is in the client: to edit content the user will always first request a single page. Currently the entire course is retrieved and transmitted over the network. The client then processes the documents to locate those of interest. It would be faster and more efficient if only the required documents were retrieved.
Feature description
Adapt content is hierarchical, but currently all models are stored as a flat list of documents. If we want to locate part of this hierarchy, for example, a page and its descendant content, we have to do this in the application tier. This means loading the entire course from the database and examining the documents.
An example use case is in the client: to edit content the user will always first request a single page. Currently the entire course is retrieved and transmitted over the network. The client then processes the documents to locate those of interest. It would be faster and more efficient if only the required documents were retrieved.
Possible solution could use https://www.mongodb.com/docs/manual/tutorial/model-tree-structures-with-ancestors-array/
Ref #39, #40 and adapt-security/adapt-authoring-ui#322
Can you work on this feature?
The text was updated successfully, but these errors were encountered: