The Blog.

Using Composer and Namespaces in PHP

Pretty much everyone who develops with PHP uses Composer, and if you’ve every used a PHP framework, you’ve seen the namespaces at the tops of files. I knew how to use these things but I didn’t really understand them until I embarked on a few just-for-learning side projects that I started from scratch.

How to use Monolog with a custom WordPress plugin

Log files are just good practice; not only can they help in development and debugging, but they can act as silent sentinels, watching over your code and helping you find a quick solutions when things go wrong.

How to Handle Plugin Dependency in WordPress

Have you ever written plugin code in WordPress that was dependent on another plugin to run? If your code tries to execute before the plugin you require has loaded, obviously, it won’t work. There’s a very simple way to make sure that your plugin doesn’t run until it’s ready.

Balancing Ends (Front/Back-end Development)

Development tools like Angular.js and now React.js and (my personal favorite) Vue.js have transformed front-end website/web application development. It’s actually possible to write whole applications in JavaScript now in a cohesive, management manner. The real question is: should you? The answer is, of course: it depends.

Custom Pagination in CakePHP 4

CakePHP 4 uses the Milligram CSS framework. Even though freshly-baked CakePHP looks really nice with Milligram, you might want to change the look and feel of the default pagination. In this post we’ll go over how to get the pagination to match your scheme.

Five More Great Tools for LAMP Developers

A short time back, I wrote about two things that I wouldn’t want to be without as a Wordpress developer. Since then, a few things have changed. Circumstances have led me to spend more time with Windows 10, and its really working for me. Some of the reasons why I’m digging developing on my Windows 10 rig are these five great tools.

Choosing the Right Stack for the Job

As a developer, you’ve no doubt been asked “can you do [insert user request here]” more times than you can count. The answer is pretty much always “yes.” The tougher question these days is “how” … there are hundreds of ways to get things done these days. In this post, I’d like to share some of the things that shape my decisions about the “how.”

WordPress Plugin Boilerplate, Part Two

In a previous post, I introduced Wordpress Plugin Boilerplate (hereafter referred to as WPBB for brevity), an attempt at standardization for the way Wordpress plugins are developed.