This is the code repository for Object Oriented PHP and MVC [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.
In this course, we will go step by step to build a complete custom MVC (Model View Controller) framework Called TraversyMVC using object-oriented PHP. We will build something similar to Codeigniter but much much lighter. This framework is a completely open source and you are free to change the name, add stuff, etc and use it as your own. This framework will include. A core library class to load controllers & methods from the URL (Also using .htaccess)
A base controller class to load models and views
A custom database library using PDO for all models to interact with the database using prepared statements.
Not only will we create the framework but we will build an application on top of it called SharePosts which will be somewhat of a social network to share posts. This application will include: Full user authentication, Access control for posts, Server-side form validation
Bootstrap 4 UI, Posts CRUD, Helper functions (flash messaging & redirects).
We will also be deploying the application to the Internet
- Build a custom MVC Framework from absolute scratch
- Build an application using your custom framework
- Create a custom PDO class to handle database interactions
- Complete user authentication using OOP & PDO
- Deploy your custom PHP application
To fully benefit from the coverage included in this course, you will need:
- People wanting to learn advanced OOP PHP and MVC (Model View Controller)
This course has the following software requirements:
N/A