1. System Purpose
- Provide structured online lecture access
- Deliver interactive practice banks
- Track student academic progress
- Control access using login system
- Enable download tracking
- Build scalable Applied Science Learning Hub
2. System Architecture
Technology Stack:
- Frontend: HTML5 + CSS3 (Responsive)
- Backend: PHP
- Database: MySQL
- Hosting: cPanel (Wehenet)
Main Directory:
public_html/education/learn/
3. Core Files
index.php – Homepage
login.php – Student login
register.php – Registration
dashboard.php – Student dashboard
plant-biochemistry.php – Course access
save-result.php – Store assessment results
4. Database Structure
Main Tables:
students
- id
- student_id
- full_name
- email
- mobile
- password (hashed)
- role (student/admin)
- created_at
results
- id
- student_id
- module
- score
- submitted_at
downloads (Optional Advanced)
- id
- student_id
- file_name
- download_time
5. Authentication Logic
Login flow:
- User enters Student ID + Password
- System checks database
- Password verified using
password_verify()
- Session created
- Redirect to dashboard
Protected pages must include:
require_once('includes/auth.php');
6. Access Control
Roles:
Admin-only access example:
if ($_SESSION['role'] != 'admin') { header("Location: dashboard.php"); exit; }
7. Download Tracking
When student downloads a file:
- Insert record into downloads table
- Allow file access
Purpose:
- Measure engagement
- Identify inactive students
- Analyze popular modules
8. Responsive Design Rules
- Use viewport meta tag
- Minimum base font-size: 18px
- Use container width limit
- Card-based layout
- Mobile-first structure
9. Security Checklist
- Passwords hashed
- Prepared statements used
- Sessions required on protected pages
- Error display OFF in production
- Regular backups before modification
10. Future Development Roadmap
- Real-time quiz system (AJAX)
- Progress bars
- Grade classification automation
- Performance analytics dashboard
- Multi-course expansion
- AI-based adaptive learning
11. Maintenance Strategy
- Modify one file at a time
- Test after each modification
- Maintain change log
- Backup system weekly
- Document all upgrades
12. Strategic Vision
This LMS is the foundation of a future Applied University Digital Knowledge Hub.
It enables independent academic infrastructure development and scalable science education delivery.