Introduction to Object Oriented PHP
Length: 1.03 hours
Certificate: Finish lessons and pass the quiz with 70%
Object oriented programming (OOP) is the most popular approach taken by PHP developers. You'll find object oriented code in almost all major CMS's and platforms. In this class, you'll learn the fundamentals of OOP and how they apply to PHP.
This class focuses on the use of classes, objects and methods in OOP:
- How to Create a Class in OO PHP
- How to Create an Object from a Class
- How to Access Object Information in a Template
- How to Add Methods to Classes
- How to Use the Construct Method and Magic Methods
- How to Incorporate Global Variables into a Class
- Public, Private and Protected Visibility
- Why Should You Use Private Visibility?
- Using Child Classes
Robert learned HTML/CSS back in 2008 when he decided to start a film review site, and he continued adding to his site file-by-file the old-fashioned way for a year. When he asked a web developer friend how to build a site that "automatically lists content on the homepage and stuff," he was pointed to Drupal.
Since then, Robert has continued to build his experience with the CMS by using it on his own projects and by managing other brands' pre-existing Drupal sites. In doing so, he has learned some of the best ways to use the tools Drupal has available--and what mistakes to avoid.
In his spare time, Robert trains Brazilian Jiu Jitsu and works on too many side programming projects. He is also the author of two books.