This project is a learning exercise to understand the Model-View-Controller (MVC) architecture using PHP. It covers routing, controllers, views, models, database interactions, and basic CRUD operations.
- Routing: Custom URL routing. ✅
- Controllers: Handling application logic. ✅
- Views: Rendering HTML templates. ✅
- Assets: Managing CSS, JS, and images. ✅
- Models: Interacting with the database.
- Database Wrapper: Simplified database operations.
- CRUD Operations: Create, Read, Update (with AJAX), Delete.
- Flash Messages: User feedback.
- Search Functionality: Filter and display data.
- MAMP (or any other local server environment)
- Clone the repo:
git clone https://github.com/zulhusni2003/MVC-PHP.git
Contributions are welcome! If you'd like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature (
git checkout -b feature/YourFeatureName
). - Make your changes.
- Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeatureName
). - Create a new Pull Request.