This project aims to create a web application for managing a car catalog using the MVC (Model-View-Controller) method in PHP. The application allows users to log in, search for cars by type and brand, and perform various operations such as adding new types/brands, modifying cars, and changing their password. Error handling is also integrated to ensure a smooth user experience.
- MVC Method
- Adding a new car type/brand
- CSS Modifications
- Password change
Detailed Features:
- The project is structured according to the MVC model, making it easy to maintain and extend. The directory structure is as follows:
-A navigation menu has been added to allow users to easily access the features for adding car types/brands and changing their password.
Example of the ‘Add a Car Brand’ View :
- The main controller handles the different possible actions using cases for each functionality, such as the car list, adding a type/brand, and changing the password.
- In this project, the functions are separated into distinct files to ensure a modular structure and improved maintainability. For example, a specific function was added in the user controller to handle password changes. This feature processes the password change form and updates the information in the database once all required conditions are met.