How jimmyu2foru18/suny-university works
SUNY University Management System is a PHP/MySQL university site and role-based operations portal. Visitors browse public university information and apply or log in; authenticated users reach role-specific dashboards for student academic tasks, faculty teaching/advising, and staff or administrator management. The sampled enrollment page demonstrates direct PDO-backed listing and deletion, while the README documents RBAC and CRUD across 46 tables. The tree also contains an extracted copy; it is represented separately rather than treated as the active application. Unsampled portal features are retained as documented capability areas, with uncertain implementation links omitted.
Main entry points: index.php Portal entry · enrollments.php Enrollment management · database.php PDO connection · portal Snapshot role portals
Components 24
Public website
- Public information
school-system/public - Admissions and registration
school-system/public/register.php - Login and logout
school-system/public/login.php
Role portals
- Portal entry
school-system/portal/index.php - Administration
school-system/portal/admin/management - Faculty teaching
school-system/portal/faculty - Student academics
school-system/portal/student - StatStaff data views
school-system/portal/statstaff - Profile and advising
school-system/portal - Enrollment management
school-system/portal/admin/management/enrollments.php
Application core
- Authentication
school-system/src/controllers/AuthController.php - User model
school-system/src/models/User.php - Session and role checks
school-system/src/controllers/BaseController.php - CRUD controller
school-system/src/controllers/CrudController.php - PDO connection
school-system/config/database.php
Extracted snapshot
- Snapshot public pages
school-system/extracted/public - Snapshot role portals
school-system/extracted/portal - Snapshot base controller
school-system/extracted/src/controllers/BaseController.php - Snapshot CRUD controller
school-system/extracted/src/controllers/CrudController.php - Snapshot authentication
school-system/extracted/src/controllers/AuthController.php - Snapshot user model
school-system/extracted/src/models/User.php - Snapshot PDO connection
school-system/extracted/config/database.php
Other components
- Visitor
- MySQL database
Connections 20
- Visitor → Public information: browses
school-system/public/index.php - Visitor → Admissions and registration: applies
- Visitor → Login and logout: signs in
- Login and logout → Authentication: authenticates
- Authentication → User model: queries user
school-system/src/controllers/AuthController.php - Visitor → Portal entry: opens portal
- Portal entry → Administration: routes by role
- Portal entry → Faculty teaching: routes by role
- Portal entry → Student academics: routes by role
- Portal entry → StatStaff data views: routes by role
- Administration → Enrollment management: manages enrollment
- Enrollment management → PDO connection: loads connection
school-system/portal/admin/management/enrollments.php - Enrollment management → MySQL database: reads and deletes
school-system/portal/admin/management/enrollments.php - PDO connection → MySQL database: opens PDO
school-system/config/database.php - Session and role checks → PDO connection: receives PDO
- Snapshot authentication → Snapshot user model: constructs model
school-system/extracted/src/controllers/AuthController.php - Snapshot CRUD controller → Snapshot base controller: extends
school-system/extracted/src/controllers/CrudController.php - Snapshot role portals → Snapshot PDO connection: loads connection
school-system/extracted/portal/admin/management/enrollments.php - Snapshot role portals → Snapshot base controller: uses controller
school-system/extracted/portal/admin/management/enrollments.php - Snapshot public pages → Snapshot PDO connection: loads connection
school-system/extracted/public/research.php