Object Oriented PHP & MVC
Build a custom object oriented PHP MVC framework and then build an application with it
What you will learn?
- 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
Your trainer
Brad Traversy
Brad Traversy has been programming for around 12 years and teaching for almost 5 years. He is the owner of Traversy Media which is a successful web development YouTube channel and specializes in everything from HTML5 to front end frameworks like Angular as well as server side technologies like Node.js, PHP and Python. Brad has mastered explaining very complex topics in a simple manner that is very understandable. Invest in your knowledge by watching Brad's courses.
44 lessons
Easy to follow lectures and videos covering subject details.
6.5 hours
This course includes hours of video material. Watch on-demand, anytime, anywhere.
Certificate of Completion
You will earn a Certificate of Completion at the end of this course.
Course curriculum
- Welcome To The Course06:12
- Project Files & Questions01:56
- XAMPP Environment Setup08:31
- About This Section01:09
- What Is OOP?05:47
- Classes, Properties & Methods09:45
- The Constructor & Destructor10:39
- Access Modifiers, Getters & Setters09:18
- Class Inheritance06:50
- Static Methods & Properties05:59
- What Is MVC?04:30
- Workflow Explanation07:55
- Creating The Folder Structure08:35
- Direct Everything Through index.php07:06
- Bootstrap FIle & Core Class10:43
- Loading The Controller From The URL12:00
- Mapping Methods & Parameters07:56
- Base Controller Class07:13
- Loading Views06:11
- Config File & Uploader07:45
- Header & Footer Includes06:30
- Aside - PDO Crash Course17:59
- The Database Class - Part 112:51
- The Database Class - Part 216:02
- Clean Up05:24
- Initial App & Database Setup05:38
- Pages, Bootstrap & Navbar12:52
- Creating The Users Controller08:51
- Register & Login Form Views11:37
- Form Validation13:49
- User Model & Email Check07:59
- User Registration11:16
- Custom Flash Messaging15:30
- User Login09:26
- User Session Data & Logout08:33
- Posts Controller06:52
- Posts Access Control04:58
- Post Model & Display12:40
- Add Post Form08:39
- Inserting Posts13:06
- Post Show Details Page13:37
- Editing Posts09:38
- Deleting Posts07:02
- Deploying Our App12:51
Online Courses
Learning PHP doesn't have to be hard. Here is our curated list of recommended online courses that will guide you step-by-step in the learning process.
Learn moreBooks
Are you an avid book reader? Do you prefer paperback, or maybe Kindle version? Take a look at our curated list of PHP related books and take your
YouTube videos
The number of high-quality and free PHP video tutorials is growing fast. Check this curated list of recommended videos - there is no excuse to stop learning.
Learn more