tws2xa / Bookmark

Bookmark Critical Reading Game
1 stars 0 forks source link

Rework School Class Creation so it's Top Down, not Bottom Up #12

Closed tws2xa closed 8 years ago

tws2xa commented 8 years ago

Currently, creating a school class requires a list of teams, and a team requires a list of students, and a student requires a list of cards. We should change this so you create a school class with an ID, then the teams are looked up in the DB. Teams are then created with their ID, then their students are looked up in the DB. Then students are created with their ID, and so on... Creating a school class with the class ID should automatically load in all the teams, students, and cards associated with that class.

The SchoolClass, Team, Student, and Card objects should only be used in a Session, and are NOT to be used for storing data in the database.