How sam14334/grade_tracker works
This is a PHP grade-tracking portal for students and professors. Users register or sign in, then work in role-specific dashboards: professors publish weighted course templates, while students enroll with a class code and use grade-tracking features. Template management and enrollment actions persist through MySQL. The student dashboard excerpt also shows local grade data, a GWA target, and trend-chart rendering. Several action-to-dashboard links are not visible in the sampled markup, so those relationships are omitted rather than inferred.
Main entry points: db.php Grade tracker database · login.php Sign in · professor_dashboard.php Professor dashboard · publish_template.php Publish template
Components 12
Identity & Sessions
- Registration
php/register.php - Sign in
php/login.php - Sign out
php/logout.php
Courses & Templates
- Professor dashboard
professor_dashboard.php - Publish template
php/publish_template.php - Course enrollment
php/enroll_course.php - Template removal
php/delete_template.php
Grade Tracking
- Student dashboard
student_dashboard.php - Grade & GWA tools
student_dashboard.php
Persistence
- Course templates
php/publish_template.php - Grade tracker database
php/db.php
Other components
- Portal user
Connections 15
- Portal user → Registration: registers
- Portal user → Sign in: signs in
- Sign in → Professor dashboard: redirects professors
php/login.php - Sign in → Student dashboard: redirects students
php/login.php - Professor dashboard → Publish template: submits template
professor_dashboard.php - Publish template → Course templates: writes template
php/publish_template.php - Publish template → Grade tracker database: uses connection
php/publish_template.php - Course enrollment → Grade tracker database: reads and writes
php/enroll_course.php - Template removal → Grade tracker database: deletes records
php/delete_template.php - Professor dashboard → Grade tracker database: queries templates
professor_dashboard.php - Student dashboard → Grade tracker database: queries courses
student_dashboard.php - Student dashboard → Grade & GWA tools: renders tools
student_dashboard.php - Portal user → Course enrollment: enrolls by code
- Portal user → Template removal: removes template
- Portal user → Sign out: ends session