The acronym OOP stands for object-oriented programming. OOP is a programming paradigm, meaning it’s another approach for how you architect and build code. OOP is programming that is oriented to (focused on) objects. It seeks to emulate the real world. What does that mean? Let’s relate this concept to the objects you know. Look around your office. Grab an ink pen. Now, look at it. An ink pen is mass-produced from a blueprint. Millions of ink pens were made just like yours. Each pen has characteristics, such as the color of the ink, cap or click, body color, and size. […]
Labs
Labs are hands-on coding projects that you build along with Tonya as she explains the code, concepts, and thought processes behind it. You can use the labs to further your code knowledge or to use right in your projects. Each lab ties into the Docx to ensure you have the information you need.
Each lab is designed to further your understanding and mastery of code. You learn more about how to think about its construction, quality, maintainability, programmatic and logical thought, and problem-solving. While you may be building a specific thing, Tonya presents the why of it to make it adaptable far beyond that specific implementation, thereby giving you the means to make it your own, in any context.
Lab Introduction
Welcome to the Introduction to PHP OOP for WordPress lab. This is a gentle introduction to object-oriented programming. This lab starts where the typical WordPress developer is at, meaning I’ll start with procedural and help you to make the leap over into OOP. In this lab, you’ll learn what OOP is and what it is not. You’ll be writing some code to help you see how it works. OOP is a different mindset. It can be difficult to wrap your mind around. Therefore, you need to work with me. You’ll also need to focus on the intent and concepts. Therefore, […]
Collapsible Content Plugin with OOP – Part 4
The best way to learn OOP is to build convert something that you already know from procedural to OOP. That will make the thought processes and methodologies more relatable for you. In Part 4, you will convert the Collapsible Content Plugin from procedural to Object Oriented Programming (OOP).
Introduction to PHP Object-Oriented Programming (OOP) for WordPress
Object-oriented programming (OOP) seeks to emulate real objects through code. In life, objects have both characteristics, those attributes that define it, and behavior. OOP is a completely different approach to programming than procedural. As such, its actual implementation is often misapplied and misunderstood. In this hands-on lab, you will get an introduction to OOP. You’ll explore how to implement it for your WordPress plugins and theme.