Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Object Oriented PHP & MVC

via Udemy

Overview

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

What you'll 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

In this course we will go step by step to build a complete custom MVC (Model View Controller) framework Called TraversyMVC using object orientedPHP. 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 sideform validation

  4. Bootstrap 4 UI

  5. Posts CRUD

  6. Helper functions (flash messaging & redirects)

We will also be deployingthe 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 PHPlanguage. 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

Taught by

Brad Traversy

Reviews

4.7 rating at Udemy based on 4921 ratings

Start your review of Object Oriented PHP & MVC

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.