Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abdelhak-zaaim/simple_faculty_management_system_php_mvc
https://github.com/abdelhak-zaaim/simple_faculty_management_system_php_mvc
mvc php solid-principles
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/abdelhak-zaaim/simple_faculty_management_system_php_mvc
- Owner: abdelhak-zaaim
- Created: 2024-05-31T14:43:21.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-06-02T16:26:04.000Z (9 months ago)
- Last Synced: 2025-01-27T04:07:28.036Z (19 days ago)
- Topics: mvc, php, solid-principles
- Language: PHP
- Homepage:
- Size: 24.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# PHP MVC Educational Project
This project is a simple PHP MVC (Model-View-Controller) application designed for educational purposes. The main goal of this project is to demonstrate the correct way to structure and write code in an MVC pattern, adhering to the SOLID principles.
## SOLID Principles
SOLID is an acronym for the first five object-oriented design principles recommended by Robert C. Martin. These principles make it easier to understand, develop, and maintain software.
- **S**ingle Responsibility Principle (SRP)
- **O**pen/Closed Principle (OCP)
- **L**iskov Substitution Principle (LSP)
- **I**nterface Segregation Principle (ISP)
- **D**ependency Inversion Principle (DIP)## Project Structure
The project is structured into different modules, each representing a different aspect of a typical educational institution. These modules include `Department`, `Filier`, `Module`, `Professeur`, `Etudiant`, `Salle`, and `User`.
Each module is represented by a class that extends a `BaseModel` class, following the MVC pattern. The `BaseModel` class provides basic functionality that can be used by all models.
The project also includes a `Database` class for handling database connections and operations.
## Usage
To use this project, you need to have PHP installed on your system. You can then clone the project, configure your database connection in the `Database` class, and start using the application.
## Contributing
Contributions are welcome. Please feel free to fork the project, make your changes, and submit a pull request.
## License
This project is open-source and is licensed under the MIT License.