PHP Object Oriented Programming

Published
Mar 21, 2025
Duration
3h:40m:23s
Keywords
oop | php

About This Series:

This action-packed video series takes you on a journey from the fundamentals of Object-Oriented Programming (OOP) in PHP to advanced techniques, helping you write cleaner, more maintainable, and scalable code.

We kick things off by exploring why OOP matters and how it solves common issues like messy, hard-to-maintain code. You’ll learn how to create classes and objects, define properties and methods, and harness encapsulation 🔒 to control data access. As we progress, we’ll dive into constructors, destructors, namespaces, and autoloading 📦, making your code more efficient and modular.

From there, we explore inheritance & polymorphism 🎭, showing you how to extend classes and implement interfaces for flexible, reusable designs. You’ll master traits, static methods, and the final & parent keywords to control class behavior. Then, we tackle exception handling ⚠️, teaching you how to manage errors like a pro with custom exceptions.

In the final stretch, we bring everything together with real-world patterns, including the Singleton pattern (logger class) 🔁 and Dependency Injection 💡 for writing decoupled, testable code. To top it off, we’ll refactor a calculator app from scratch 🛠️, applying OOP best practices to build a fully optimized application.

Whether you’re just starting out or looking to level up your PHP skills, this series will equip you with everything you need to master OOP and write better PHP code! 🚀🔥

Videos In This Series:

OOP Foundations

Episode Title Release Length
1 Why OOP? -- 13m:52s
2 Classes and Objects -- 5m:27s
3 Properties and Methods -- 12m:3s
4 Encapsulation: Public & Private -- 9m:39s
5 Constructors and Destructors -- 9m:31s

Organizing & Structuring Code

Episode Title Release Length
6 Namespaces, PSR-4, and Autoloading -- 10m:36s
7 Abstract Classes and Methods -- 15m:21s
8 Interfaces -- 19m:38s
9 Traits -- 5m:17s
10 Static Methods and Properties -- 17m:24s
11 Inheritance -- 14m:11s

Robustness & Error Handling

Episode Title Release Length
12 Exceptions & Errors -- 33m:55s

OOP in Action - The Calculator Project

Episode Title Release Length
13 Calculator - Converting to OOP -- 8m:8s
14 Calculator - Returning Objects -- 15m:50s
15 Calculator - Developer Experience -- 6m:9s
16 Calculator - Dynamic Operators -- 13m:53s
17 Calculator - Namespaces & Autoloading -- 9m:29s

About Your Instructor:

Bob Cravens

Bob Cravens

Your Instructor
more »
Owner
TekFoundry
Wisconsin
United States
Short Bio:
Bob Cravens is a seasoned technology leader, software architect, and educator with a passion for empowering others through practical, real-world knowledge. As the founder of TekFoundry, Bob has dedicated his career to designing and delivering innovative software solutions that combine cutting-edge technology with elegant simplicity.

At TekCasts, Bob leverages over two decades of experience in software engineering, application architecture, and team leadership to create engaging, high-impact courses for developers and technology professionals. His instructional style is rooted in practical application, offering insights drawn from his extensive background in industries like medical devices and global technology consulting.

Bob’s expertise spans a variety of technologies and methodologies, including PHP/Laravel, FastAPI, and DevOps, as well as architecture best practices and team dynamics. Whether teaching foundational concepts or advanced strategies, he’s passionate about helping others turn complex challenges into streamlined solutions.

When not crafting elegant code or inspiring the next generation of tech innovators, Bob enjoys exploring the intersection of technology, business strategy, and creative problem-solving.