Topic: Trainee Management System
Demand:
- User role, instructor \ Trainee, user after landing according to the role of different, can do things differently, respectively, as follows
- Instructor View
- Management class, can create classes, according to the student QQ number to join the students class
- Can create a class record for a specified class, note that a class record corresponds to a number of participants ' records, that is, every class has a whole class of students, in order to record each student's academic performance, we need to create each class record is, at the same time for each student in this class to create a class record
- To revise grades for students, one by one manual revision
- Student View
- Submit Job
- View Job Scores
- A student can belong to more than one class at the same time, like the report of Linux, but also can register Python, so submit homework to select the class, and then select the number of sections of the specific class
- Additional: Students can view their class score rankings
Idea: To solve this problem, we have to figure out how many objects, the relationship between objects, in fact, I think we use the operation is to use the MySQL SQLAlchemy of the many-to-many thought module
Object: 1. Class: Name Learner 2. Student: Name QQ number (QQ number is equivalent to a student's ID card, we through the screening QQ good to operate student information) results (submit homework will have results)
3. Lecturer: Name Class (each teacher corresponds to multiple classes)
4. Class Table: Name 5. class Record table: Used to record information generated by the association
MySQL develops a simple learner management system