OOP-NOOB Series – The Publicity Stunt

OOP makes use of access modifiers to control the accessibility of methods and properties. This is what allows you to use the concept of encapsulation, so that you have a public interface that consumers of your code can develop against, as well as a private implementation that needs to be treated as a black box from the outside.

Having all of your methods and properties be public generally defeats the purpose of using OOP in the first place, as most of the benefits depend on the concept of encapsulation in some form or other.

Read more →

Road labyrinth with 51% sign as exit sign

Project Moiety – A Hypothetical WordPress Roadmap

What would it take for WordPress to reach a next big milestone of accounting for 51% of the web? Here's a hypothetical long-term roadmap as a thought experiment, targeting enterprise clients as the next big audience to tackle.

Read more →

Structuring PHP Exceptions

While the consensus is to use exceptions instead of errors, there is very little information on how to structure and manage them in a larger codebase. In this article, I want to talk about the way I currently set them up and use them in PHP, in the hopes to spark some discussion on the topic and get further feedback.

Read more →