Object Oriented PHP & MVC

  • Overview
  • Curriculum
  • Instructor
  • Review

About This Course

Build a custom object oriented PHP MVC framework and then build an application with it

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 completely open source and you are free to change the name, add stuff, etc and use it as your own. This framework will include...


  1. A core library class to load controllers & methods from the URL (Also using .htaccess)

  2. A base controller class to load models and views

  3. 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..


  1. Full user authentication

  2. Access control for posts

  3. Server side form validation

  4. Bootstrap 4 UI

  5. Posts CRUD

  6. Helper functions (flash messaging & redirects)

We will also be deploying the application to the Internet


This is not a beginner PHP course. You should already understand things like variables, arrays, loops, functions and all of the basics of the PHP language. It is ok if you do not understand OOP fully. Before we start the framework project, we will have a crash course on object-oriented programming with PHP, where you will learn about classes, methods, properties and more.


To learn the basics, please check out the PHP Front To Back series on YouTube by Traversy Media

  • Build a custom MVC Framework from absolute scratch

  • Build an application using your custom framework

  • Create a custom PDO class to handle database interactions

Instructor

Profile photo of Brad Traversy
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...

Review
4.9 course rating
4K ratings
ui-avatar of Sawyer Cross
Sawyer C.
3.0
8 months ago

The course content was good but there was too much nesting of if statements and such

  • Helpful
  • Not helpful
ui-avatar of Rupesh Pradhan
Rupesh P.
5.0
8 months ago

Awesome!!!

The perfect continuation to the course by you titled "PHP From Scratch 2024 - Beginner to Advanced"

My concepts with regards to Objects and Classes has improved by miles by the granular examples that you demonstrated.

The clarity of how a framework works under the hood is much better.

Moving on to "Laravel From Scratch"!

Thank you Brad!

  • Helpful
  • Not helpful
ui-avatar of Yuval Sharon
Yuval S.
5.0
8 months ago

Like always , your tutorials are easy to follow very informative.

Just keep do more tutorials

you are amazing in that.

  • Helpful
  • Not helpful
ui-avatar of Bhongolethu Sinxo
Bhongolethu S.
4.5
8 months ago

A great introduction to MVC and OOP. It was worth every cent. I am building momentum for the Laravel course

  • Helpful
  • Not helpful
ui-avatar of Andy Udtohan Malunes
Andy U. M.
5.0
9 months ago

The way Brad teach better than my previous php course. I am still on the Framework part 1 tho. Hoping that I will get more understanding on OOP.

  • Helpful
  • Not helpful
ui-avatar of Vít Hrtus
Vít H.
4.5
9 months ago

Definitely not for beginners. Couple of things were obsolete, but it does not matter - the course was brilliant.

  • Helpful
  • Not helpful
ui-avatar of Juan Gutierrez
Juan G.
5.0
10 months ago

because Brad is a good teacher.

  • Helpful
  • Not helpful
ui-avatar of OYETORO KAZEEM OLAWALE
Oyetoro K. O.
5.0
10 months ago

Great course

  • Helpful
  • Not helpful
ui-avatar of Santosh Kumar Bawari
Santosh K. B.
3.5
11 months ago

few of the things been created but no tused at the time of the creation but later in the lectures that confused me a lot, other than that it is good. Fast paced and good.

  • Helpful
  • Not helpful
ui-avatar of Magento
Magento
3.5
11 months ago

Was alright but realised that the tutor is just copying of a cheatsheet and implements some functions bevore even creating them :)

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses