How mahinahmademon/wbt-spring-2025-2026 works
This repository is a collection of web-programming coursework, with the most complete application being GameShop101, a PHP system for staff registration, role-based sign-in, staff administration, and game-catalog management. Its request flow runs through a front controller to role-specific handlers, which use database models and render dashboard or authentication views; dashboards also expose AJAX search. Separate portfolio pages and form/JavaScript exercises are independent examples. The top-level README documents no capabilities, and several peripheral files were not sampled, so their internal connections are omitted.
Components 17
GameShop101
- Request router
gameshop101_management/index.php - DB connection
gameshop101_management/config.php - Request handlers
gameshop101_management/controllers.php - Auth and CRUD
gameshop101_management/models.php - Shop database
gameshop101_management/database.sql - Login and registration
gameshop101_management/views/login.php - Admin dashboard
gameshop101_management/views/admin.php - Staff dashboard
gameshop101_management/views/staff.php
Portfolio
- Portfolio pages
portfolio/index.html - Contact form
portfolio/html/contact.php - JavaScript examples
portfolio/js/basic_js.js
Form Exercises
- Signup validation
assessment/signup.php - Login exercise
assessment/login.php - Lab form
lab/form.html - Lab script
lab/script.js
Other components
- Browser user
- MySQL server
Connections 15
- Browser user → Request router: sends requests
gameshop101_management/index.php - Request router → DB connection: loads connection
gameshop101_management/index.php - Request router → Auth and CRUD: loads models
gameshop101_management/index.php - Request router → Request handlers: dispatches routes
gameshop101_management/index.php - Request handlers → Auth and CRUD: authenticates and manages
gameshop101_management/controllers.php - Request handlers → Login and registration: renders auth pages
gameshop101_management/controllers.php - Request handlers → Admin dashboard: renders dashboard
gameshop101_management/controllers.php - Request handlers → Staff dashboard: renders dashboard
gameshop101_management/controllers.php - Request router → Auth and CRUD: queries AJAX search
gameshop101_management/index.php - Auth and CRUD → MySQL server: reads and writes
gameshop101_management/models.php - DB connection → MySQL server: connects and seeds admin
gameshop101_management/config.php - Portfolio pages → Contact form: links contact page
portfolio/html/contact.php - Browser user → Signup validation: submits form
assessment/signup.php - Browser user → Login exercise: uses login form
- Browser user → Lab form: uses lab form