Intermediate
78 Lessons
7h
Certificate of Completion
Takeaway Skills
A strong understanding of the object-oriented programming paradigm
Familiarity with objects, classes, methods, and properties for server-side web scripting
Expertise in applying object-oriented programming techniques to PHP web applications
Hands-on experience in building and maintaining a PHP database using object-oriented principles
Course Overview
Object-oriented programming is perhaps the dominant development paradigm for leading languages including Java, C#, and Python. The rich class and inheritance framework wasn’t fully implemented in modern PHP until 2015, and best practices for object-oriented programming are still emerging. This course is an introduction to object-oriented programming in PHP. You’ll start with the basics of the OOP paradigm and get familiar with classes, objects, methods, and properties. You’ll then chain methods and propert...
Course Content
Introduction
Classes and Objects
Using the $this Keyword for Chaining Methods and Properties
Access Modifiers
Magic Methods and Constants Unveiled
Inheritance in Object-oriented Programming
6 Lessons
Abstract Classes and Interfaces
9 Lessons
Polymorphism and Type Hinting
9 Lessons
Static Methods & Properties and Traits
6 Lessons
Namespaces & Dependency Injection
6 Lessons
Exception Handling
5 Lessons
PHP Database
7 Lessons
Model-view-controller (MVC)
2 Lessons
Conclusion
1 Lesson
Appendix
2 Lessons
How You'll Learn
You don’t get better at swimming by watching others. Coding is no different. Practice as you learn with live code environments inside your browser.
Videos are holding you back. Educative‘s interactive, text-based lessons accelerate learning — no setup, downloads, or alt-tabbing required.
Learn faster and smarter with adaptive AI tools embedded in every Educative course.
Built-in assessments let you test your skills. Completion certificates let you show them off.