[recent_post_slider design="design-2" limit="12" category="17,15,5,22"]
How-To
Kenn

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.

Read More »
Photo by Hal Gatewood on Unsplash
CakePHP
Kenn

Making a Simple Cell in CakePHP 4

This tutorial covers the basics of creating a view cell based upon an “articles” table, similar to the one from the blog tutorial on CakePHP.org.  It is written using CakePHP 4.

Read More »
Photo by Web Donut on Unsplash
Apache
Kenn

Creative (i.e. weird) WordPress Hosting Tricks

I frequently play around with different ways of improving WordPress performance through hosting configurations, not so much because it’s necessary but because I have fun doing it. This was one of those times… I wondered about the value of catching the front-end of a WordPress installation with Nginx but directing everything on the dashboard side of things to Apache2.

Read More »
Docker
Kenn

Creating a Local Docker Swarm with VirtualBox

Docker Swarm is the container orchestration tool built into Docker, and while it isn’t nearly as popular as Kubernetes, it still has a lot going for it. It uses mostly the same syntax as Docker, so you can leverage your existing knowledge. To make a Swarm cluster in VirtualBox we’ll need three VMs that a) can talk to each other, b) can be accessed from your local computer, and c) can get to the Internet.

Read More »
How-To
Kenn

Getting WP Post and Postmeta in Single Rows

WordPress uses wp_posts to store post, page, and Custom Post Type (CPT) data the wp_postmeta table for Custom Metabox data. To retrieve this data you have to read for the post plus multiple linked postmeta rows. In this post, we conquer postmeta with subqueries.

Read More »
How-To
Kenn

Using Redis with WordPress on Ubuntu

Redis is “an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams.” Translation? It makes websites run faster.

Read More »
MariaDB
Kenn

Building an API Endpoint with Amp (PHP)

API endpoints in web apps are pretty typical these days, but there may be reasons to provide data outside of the context of an application. In this post, we’ll explore how to make a stand-alone API endpoint using PHP and Amp.

Read More »
WordPress
Kenn

WordPress Plugin Boilerplate, Part One

With over 50K packages in the WordPress.org plugin repository – all open source – the code within these plugins is all over the place. Into this picture enter the WordPress Plugin Boilerplate. In their own words, the Boilerplate is “a standardized, organized, object-oriented foundation for building high-quality WordPress Plugins.”

Read More »