Udemy

Object Oriented PHP & MVC

Enroll Now
  • 19,383 Students
  • Updated 11/2017
4.6
(5,108 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
6 Hour(s) 39 Minute(s)
Language
English
Taught by
Brad Traversy
Rating
4.6
(5,108 Ratings)
1 views

Course Overview

Object Oriented PHP & MVC

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

Course Content

  • 7 section(s)
  • 44 lecture(s)
  • Section 1 Course Intro & Setup
  • Section 2 Intro To OOP PHP
  • Section 3 The Framework [Part 1] - The Core
  • Section 4 The Framework [Part 2] - MVC Workflow
  • Section 5 The App [1] - Setup & User Authentication
  • Section 6 The App [2] - Posts Functionality
  • Section 7 App Deployment

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

Reviews

  • J
    Jason B
    4.0

    I thought it was a good introduction to PHP.

  • C
    Carlo Bordin
    5.0

    Really clear and helpful. Might just need some minor updates because it's based on PHP 7.x but nothing really difficult. Makes it a bit more clever to solve sometimes because of this reason.

  • D
    Daniel Little
    3.0

    Sections 1-5 are great. I learned a lot about the actual MVC framework in general. I had to give up in Section 6 because I could not get past video 37 and most of the content for the rest of the video. The "foreach loop on the posts/index page does not work. It continuously returned a null array. I had to re-factor the code and use a While loop just to get the posts table content from the database to show on the page. Not sure why he turned error-checking off on Visual Studio code because he had to keep going back and fix the errors he would have seen while typing.

  • S
    Sandor Fekete
    3.0

    The course did not include any practice exercises, and I think this was a big drawback.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed