EDU: Notes – Data: Managing History

By Sol in Lab

Examples

  • Teacher’s classes
  • Student’s classes
  • Class students

Implementation (Options)

  1. Metadata
    • Store history in usermeta/postmeta (depending on object storing history for)
    • Example: Teacher’s class history
      • usermeta properties (Array of arrays or objects)
        • id: class ID
        • date_start: [start date] (when user added to class)
        • date_end: [end date] (when user removed from class)
    • Example: Teacher(s) of old class (class no longer active)
      • postmeta properties
        • key: teachers – Array of user IDs
        • Contains most current list of teachers for class