These are the slides from a talk given at WordCamp Miami 2019.
You're a WordPress developer who wants to use object-oriented programming in their next project. You're already familiar with concepts like inheritance. The issue is that you're not sure how to apply those concepts to design classes that feel useful.
This isn't something to feel ashamed about! In fact, it's a common problem when trying to use object-oriented programming with WordPress. It's hard to know how to design classes that work well with WordPress.
Well, you're in luck! This is what we'll go over during this talk.
We'll start by going over the prevalent class design in the WordPress ecosystem. We'll analyze what it's doing and why it leaves you feeling unsatisfied.
Then we'll look at how object-oriented programming expects you to design classes. We'll finish by looking at strategies that you can use to design classes. This should let you finally design classes that feel meaningful to use!
You can read the companion article at: https://carlalexander.ca/approaching-object-oriented-programming-wordpress