Udemyintermediateen

Object Oriented PHP & MVC

Learn PHP MVC framework development! Build a custom framework and then create a full application. Master object-oriented PHP for robust web development.

4.6(5,102)
19,363students
6h 39m
Certificate
Brad Traversy
Brad TraversyFull Stack Web Developer & Instructor at Traversy Media

Course Content

Object Oriented PHP & MVC is an intermediate-level Udemy course taught by Brad Traversy. It runs 6h 39m, is taught in English, and includes a certificate of completion. Learners rate it 4.6 out of 5 from 5,102 reviews, with 19,363 students enrolled. It is a paid course, last updated November 2017.

Learn to build a powerful, lightweight PHP framework with TraversyMVC! This comprehensive course guides you step-by-step through the creation of a custom MVC (Model-View-Controller) framework using object-oriented PHP. Think of it as a streamlined alternative to frameworks like CodeIgniter – completely open source and fully customizable to fit your needs.

You'll gain hands-on experience building key components, including:

  • URL Routing: A core library to dynamically load controllers and methods from URLs, leveraging .htaccess for clean routing.
  • Base Controller: A foundational class to simplify loading models and views, promoting code reusability.
  • Database Abstraction: A custom database library utilizing PDO and prepared statements for secure and efficient database interactions within your models.

But it doesn't stop there! We'll put your framework to work by developing a full-fledged application called SharePosts, a simplified social network. This practical application will demonstrate the framework's capabilities and include:

  • Robust User Authentication: Implement secure user login and registration.
  • Access Control: Manage user permissions and restrict access to specific posts.
  • Server-Side Form Validation: Ensure data integrity with client-side and server-side validation.
  • Bootstrap 4 UI: Create a visually appealing and responsive user interface.
  • CRUD Operations: Implement Create, Read, Update, and Delete functionality for posts.
  • Helper Functions: Utilize helpful functions for flash messaging and automatic redirects, enhancing user experience.

Finally, we'll cover deploying your application to the internet, taking your project from development to live.

Important: This course is designed for those with existing PHP knowledge. A solid understanding of variables, arrays, loops, functions, and basic PHP concepts is required. While a deep understanding of OOP (Object-Oriented Programming) isn't mandatory upfront, we'll start with a PHP OOP crash course to cover classes, methods, properties, and more.

If you're new to PHP and OOP, we recommend checking out the excellent PHP Front To Back series on YouTube by Traversy Media to build a strong foundation.

Master PHP frameworks, MVC architecture, and build real-world applications with TraversyMVC. This course is perfect for developers looking to gain a deeper understanding of PHP development and create their own custom solutions.

$ whoami — the devs behind tutorialsearch.io

Need a web app built? Hire the team behind TutorialSearch.io

We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.