...
This document describes the design approach of using the TPD framework in the portal.
Background:
Jira Issue: https://project-sunbird.atlassian.net/browse/SH-3
...
When a user tries to create any course from the workspace:
Since, SH-3, we have segregated the create workflow into two parts:
...
Now, we need to change this workflow, as we have introduced a custom framework for any tenant (as of now, CBSE has its custom framework called ‘cbse-tpd’ ) and we need to take that framework while creating content from the training sub-tab.
...
Note : Since we are making the same getFormConfig API call to get the custom framework what we are making in the “Trainings” “Training” page, then we can take the same from the cache.
...
So, When the user goes to the “Trainings” “Training” page, we won’t make the API call again.
...
Pros: This is an existing workflow. To It will be easy to implement.
Cons: Now going forward with this approach, all the creation related to training should take this custom framework (if any). Whether it is just a content creation from the training sub-tab or copying of a course or front-end creation of a curriculum course. Changes have to be done in all the places.
...