A Basic implementation of the MVC Design Pattern with PHP. This is only a boilerplate built from scratch, not intended for production use. For rea life usage, use a more structured framework like Laravel or Symfony. But this should give you an idea on how each layers of the pattern can be connected to achieve a common goal.
- PHP (v7.0+) (Vanilla)
- MySQL
- Javascript (JQuery Library)
- Clone the repo
- Create a Mysql Database using any name you wish to use.
- Open up the constants.php file within the config file and edit as desired. You can remove or add as you wish.
- Open up the tables_creator.php file in the root directory and uncomment the echo statement at the bottom.
- Open your browser and fire up the tables_creator file. You can do that by using localhost/root_url/tables_creator.php
- If everything worked as planned, you should see a message informing you table was successfully created and dummy contents were inserted.
MIT License