Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ubik69/backEndDevelopment/llms.txt
Use this file to discover all available pages before exploring further.
What is the Primary School Management System?
The Primary School Management System is a comprehensive web-based application designed to streamline administrative tasks for Rishton Academy Primary School. Built with PHP and MySQL, this system provides a centralized platform for managing all aspects of school operations.Who Is This System For?
This system is designed for:- School Administrators - Manage student records, teacher assignments, and class schedules
- Office Staff - Handle parent communications, contact inquiries, and salary processing
- IT Personnel - Maintain and deploy the system infrastructure
The system requires administrator authentication to access all management features. Only authorized personnel should have access to the admin login credentials.
Core Features
The system provides complete CRUD (Create, Read, Update, Delete) operations for the following entities:Student Management
Track student information including name, birthday, parent association, and class assignment
Teacher Management
Manage teacher profiles with contact details, specialization fields, and bonus information
Parent Management
Maintain parent records with contact information and address details
Class Management
Organize classes by year, capacity, and assigned teacher
Salary Management
Process teacher salaries based on working hours and salary amounts
Gym Member Management
Track gym membership for school facilities
System Architecture
The system follows a simple yet effective architecture:Technology Stack
- Frontend: HTML5, CSS3, JavaScript, Font Awesome Icons
- Backend: PHP (procedural style)
- Database: MySQL with MySQLi extension
- UI Framework: Custom CSS with dropdown navigation
Database Connection
The system uses MySQLi to connect to the database. Here’s how the connection is established:admin_login.php
Navigation Structure
The system features a dropdown-based navigation menu organized into four main operations:- View - Display all records for each entity
- Add - Create new records
- Delete - Remove existing records
- Update - Modify existing records
Security Features
Admin Authentication
The system includes an admin login panel that validates credentials against theadmin_login table:
admin_login.php
Data Entities
Student Entity
Students are stored in theStudent1 table with the following fields:
Sid- Student ID (Primary Key)Sname- First NameSsurname- Last NameSbirthday- Date of BirthParent_ID- Foreign Key to Parent tableClass_ID- Foreign Key to Class table
Teacher Entity
Teachers are stored in theTeacher table with:
bonus_amount- Bonus compensationteacher_field- Subject specializationTname- First NameTsurname- Last NameTaddress- AddressTmobile- Mobile NumberTemail- Email Address
Class Entity
Classes are stored in theClass table with:
Class_ID- Class ID (Primary Key)classYear- Class/Year Namecapacity- Maximum StudentsTeacher_ID- Assigned Teacher
Salary Entity
Salary records track teacher compensation:Teacher_ID- Foreign Key to Teachersalary_amount- Salary AmountworkingTimes- Working Hours
User Interface
The system features a consistent navigation bar across all pages with a dark theme (#333 background) and hover effects for improved user experience.
The interface uses Font Awesome 4.7.0 for icons and includes responsive design considerations with viewport meta tags.