Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Any content or collection consumption is strictly tracked at the context it was consumed. This is the default mode setup currently in SunbirdEd

...

Info

Rahul completes content “single-digit-addition” as part of batch “batch-1“ within the course “class-1-maths

Entry in DB

user_id

collection_id

context_id

content_id

status

Rahul

class-1-maths

batch-1

single-digit-addition

2

API responses for various other actions done by the user:

Action

Progress

Rahul opens the “single-digit-addition” content after going into the course “class-1-maths” when batch-1 is active

Complete

Rahul opens the “single-digit-addition” content after searching for it

Not Started

batch-1 has expired and Rahul has rejoined batch-2 and opened the content “single-digit-addition”

Not Started

Pros

  1. User experience is straight forward and the clients do know the context in which the user is opening the content

  2. No extra actions or need for complex business rules either or client or server

Cons

Carry Forward Mode

Any content or collection consumption is tracked at its level only and is carry forwarded into any context. This is the expected mode of SunbirdCB.

...

In this mode there are two sub-modes as well:

Full Carry Forward Mode

Info

Rahul completes content “single-digit-addition” as part of batch “batch-1“ within the course “class-1-maths

...

Action

...

Progress

...

Entry in DB

user_id

collection_id

context_id

content_id

status

Rahul

single-digit-addition

single-digit-addition

single-digit-addition

2

API responses for various other actions done by the user:

Action

Progress

Rahul opens the “single-digit-addition” content after going into the course “class-1-maths” when batch-1 is active

Complete

Rahul opens the “single-digit-addition” content after searching for it

Complete

batch-1 has expired and Rahul has rejoined batch-2 and opened the content “single-digit-addition”

Complete

Rahul has joined a collection “class-2-maths” which contains the “single-digit-addition” content and opens the content

Complete

Collection Carry Forward Mode

Info

Rahul completes content “single-digit-addition” as part of batch “batch-1“ within the course “class-1-maths

Entry in DB

user_id

collection_id

context_id

content_id

status

Rahul

class-1-maths

class-1-maths

single-digit-addition

2

API responses for various other actions done by the user:

Action

Progress

Rahul opens the “single-digit-addition” content after going into the course “class-1-maths” when batch-1 is active

Complete

Rahul opens the “single-digit-addition” content after searching for it

Not Started

batch-1 has expired and Rahul has rejoined batch-2 and opened the content “single-digit-addition”

Complete

Rahul has joined a collection “class-2-maths” which contains the “single-digit-addition” content and opens the content

Not Started

Rahul has joined a program “program-abc“ which contains “class-1-maths” as one of the collection. He opens the “single-digit-addition” content within this context

Complete

Copy Mode

In this mode, any content or collection that is tracked, is copied over into context based on the business rules configured.

Example Use-case

Rahul completes content “single-digit-addition” as part of batch “batch-1“ within the course “class-1-maths

...

In this mode, any content or collection that is tracked, is moved over into context based on the business rules configured.

Example Use-case

Rahul completes content “single-digit-addition” as part of batch “batch-1“ within the course “class-1-maths

...