Posts marked with “object-oriented programming”
Design Patterns by Moonlight: How I Do Interfaces
How do the building blocks come together to form a whole? Most resources on Design Patterns look at each pattern in isolation, allowing you to focus on the pattern and its uses without being distracted by side issues. What’s missing, I have found, are examples of fitting those patterns into a working system. This month we’ll look at a feature involving […]
Education Station: Decorating Your Code
Programming languages are vastly different when it comes to syntax. Some may look so similar that they create an entire family of languages, just like real-world languages. PHP belongs to what is known as the C-style family, which constitutes languages that use curly brackets for flow control and ignore whitespace. Python does not belong to […]
Applying Best Coding Practices to PHP, Part One
When advancing in our careers as developers, we come across some questions about the structure of our software. Before long, the main question about solving a problem is not about what to do anymore, but how to do it elegantly. We start looking for better development tactics and how to make our code mode readable […]
Object-Oriented Programming: A Primer, Part Two
The first article in this series, found in the November 2019 issue, focused on the “what” in object-oriented programming; that is, fundamental concepts and related features offered by PHP and what those features do. While this article does a bit more of the same, it focuses more on the “how” of object-oriented programming, particularly principles which guide how you use these features to build out your applications.
Object Oriented Programming, PHP 7.4, CPP extensions with Lochemem Bruno Michael, and Dependency Injection
In Episode 26 Just before the Thanksgiving holidays in the United States, we reviewed the November 2019 issue “Object Orientation.” Topics Evolution of object-oriented programing in PHP and understanding how to use objects effectively. Avoiding career stagnation and networking at conferences and user groups. PHP 7.4’s release and what features we’re looking forwards to. Eric […]
Object Orientation
There’s more than one way to solve a problem, and one popular approach to designing software is to use classes, interfaces, and objects. Using OOP effectively takes practice augmented with dedicated study. This issue rounds up articles on how to get started with object-oriented programming, understanding the dependency injection pattern, and more.
Education Station: Dependency Injection, Part One
Design patterns provide useful approaches for solving common problems in application design. Dependency injection is a powerful one, but it is also challenging to understand and apply. In this article, we’ll cover what it does and how to use it properly.
Object-Oriented Programming: A Primer, Part One
If you’re not familiar with the phrase “object-oriented programming” or haven’t done it before, this article is for you! We’ll start from basic principles and build upon them until you have a decent foundational grasp of what object-oriented programming is, why you should consider doing it, and how to do so.
Education Station: Abstraction—The Silent Killer
Object-oriented programming is full of suggestions on how to do things. One of the core tenets of object-oriented programming is abstracting “things”—or modeling them—into code via some idea of nouns and verbs.


