Unlock your potential with a Pro Membership
Here is where you propel your career forward. Come join us today. Learn more.
Practical Examples
Lab: Introduction to PHP Object-Oriented Programming (OOP) for WordPress
Video Runtime: 04:52
Here are some practical examples of WordPress plugins that are well architected and built to clean coding standards:
- WordPress Custom Menu Separator by Tom McFarlin
- Single Post Meta Manager by Tom McFarlin
- Settings Page – Better Implementation by Alain Schlesser
- Tag Swapper by Tonya
- Fulcrum by Tonya
Laravel’s Illuminate codebase is a beautifully crafted example of OOP and clean, quality coding. It’s more advanced, but well worth a tour through the code to see how wonderful OOP can be.
Symfony is another well-crafted and architected codebase. Like Laravel, it’s both OOP and clean coding.
Keep It Simple, Stupid (KISS) - the best kiss you'll get in code.
Episodes
Total Lab Runtime: 03:04:55
- 1 Lab Introductionfree 08:27
- 2 What is Object-Oriented Programming (OOP)?free 14:14
- 3 What is an object?free 13:30
- 4 Meet the Class Blueprintpro 04:53
- 5 Creating an Objectpro 07:57
- 6 Defining Characteristicspro 10:54
- 7 Putting the Object to Workpro 13:56
- 8 Hiding Away the Complexitypro 22:40
- 9 Working within the Object with $thispro 15:41
- 10 Internal Control of Object Creationpro 15:07
- 11 Class Constantspro 08:58
- 12 Class Staticpro 17:49
- 13 What OOP is Notpro 19:11
- 14 Practical Examplespro 04:52
- 15 Wrap it Uppro 06:46