Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Object Oriented PHP & MVC
Rating: 4.6 out of 5(5,123 ratings)
19,401 students

Object Oriented PHP & MVC

Build a custom object oriented PHP MVC framework and then build an application with it
Created byBrad Traversy
Last updated 11/2017
English

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

Course content

7 sections44 lectures6h 39m total length
  • Welcome To The Course6:12
  • Project Files & Questions1:56
  • XAMPP Environment Setup8:31

Requirements

  • You should know basic PHP & programming concepts

Description

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

Who this course is for:

  • People wanting to learn advanced OOP PHP and MVC (Model View Controller)