Object Oriented PHP and MVC

Video 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 like CodeIgniter, but much lighter. This framework is completely open source, and you are free to change the name, add elements, and use it as your own in your own projects.

This framework will include: -

• A core library class to load controllers and methods from the URL (also using .htaccess).

• A base controller class to load models and views.

• A custom database library using PDO for all models to interact with the database using prepared statements.

We will not only create the framework but will build an application on top of it called SharePosts which will comprise something akin to a social network to share posts. This application will include: -

• Full user authentication

• Access control for posts

• Server-side form validation

• Bootstrap 4 UI

• Posts CRUD

• Helper functions (flash messaging and redirects)

We will also deploy the application to the Internet. This is not a beginner PHP course. To learn the basics, please check out the PHP Front-To-Back series by Traversy Media.

What You Will Learn

  • Build a custom MVC Framework entirely from scratch
  • Build an application using your custom framework
  • Create a custom PDO class to handle database interactions
  • Complete user authentication using OOP and PDO
  • Deploy your custom PHP application

Audience

This course is for people who want to learn advanced OOP PHP and MVC (Model View Controller) with basic knowledge of PHP and programming concepts.

About The Author

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 such as Angular as well as server-side technologies such as Node.js, PHP, and Python. Brad has mastered explaining overly complex topics in a simple manner that is understandable. Invest in your knowledge by watching Brad’s courses.

Product information

  • Title: Object Oriented PHP and MVC
  • Author(s): Brad Traversy
  • Release date: May 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781789533149