This project consists of a CMS Panel (Content Management System) which only uses HTML, PHP, Bootstrap, Fontawesome icons and PDO statements to connect to the MySQL database.
- Encryption of passwords
- OOP (object-oriented programming)
- Sentences with PDO
- Architecture pattern MVC (Model, View, Controller)
- Upload and delete images
- URL friendly with .htacces
- 404 page not found implement
or server like xamp
First of all create the database with the script that is in the database folder.
Modify the app/core/settings.php
file by putting your connection data to the database and the diferents paths and environment. Finally, copy the files in your public folder on the server.
Note 1: Make sure that the
assets/images
folder is created and there are write permissions for all (necessary when uploading the different images).
Note 2: Make sure that the
rewrite
module of Apache is installed (necessary for the.htacces
file that makes the routes friendly).
Make sure that the apache server is started. Access to CMS Panel app in the URL of server. ex:
http://localhost
To testing the app, you have to execute the data script that is in the folder ./resources/test
, also you have to copy the images of ./resources/test/images
to ./assets/images
.
+-- _app
| +-- _controller
| +-- _core
| +-- _entity
| +-- _model
| +-- _styles
| +-- _utils
| +-- _view
+-- _assets
| +-- _images
| +-- _plugins
+-- _database
+-- _resources
+-- _images
+-- _test
This project is licensed under the MIT License - see the LICENSE file for details