Skip to content

This PHP MVC Learning Project demonstrates the fundamental concepts of the Model-View-Controller architecture. It includes features like custom routing, controller logic, view rendering, asset management, database interactions, and basic CRUD operations enhanced with AJAX.

Notifications You must be signed in to change notification settings

zulhusni2003/MVC-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP MVC Learning Project

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.

Features

  • 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.

Installation

Prerequisites

  • MAMP (or any other local server environment)
  1. Clone the repo:
    git clone https://github.com/zulhusni2003/MVC-PHP.git
    

Contributing

Contributions are welcome! If you'd like to contribute to the project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature (git checkout -b feature/YourFeatureName).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add some feature').
  5. Push to the branch (git push origin feature/YourFeatureName).
  6. Create a new Pull Request.

About

This PHP MVC Learning Project demonstrates the fundamental concepts of the Model-View-Controller architecture. It includes features like custom routing, controller logic, view rendering, asset management, database interactions, and basic CRUD operations enhanced with AJAX.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published