Categories
Web WordPress

WordPress Transients

WordPress has several great API’s for caching and retrieving data, transients being one of them. Transients are best used in situations that you need to persist data through several request-response transactions. They can have either a set expiration time or default to “indefinite.” If you’ve used a custom WP_Query at any point in your theme […]

Categories
Web

Making the Switch to TypeScript

If you’ve been living under a rock, you might have not yet heard about Microsoft’s TypeScript – “a typed superset of JavaScript that compiles to JavaScript.” A typed superset in this context just means it combines plain old JavaScript syntax with a few new extras. It can often be overwhelming learning a new set of […]

Categories
Web

Managing Levels in Phaser 2

When I first began to use Phaser 2, I had trouble wrapping my head around the way that “levels”, stages”, or “scenes” (like in Unity) were created and accessed. I was looking in the documentation for some kind of Level Manager or methods that would allow me to load said scenes but came up short. […]

Categories
Web

Azure Devops Pipeline Build with Shopify

At Leap, we utilize Microsoft’s Team Foundation for all of our version control efforts. Included in this platform is Azure DevOps, a service that allows users to set up continuous improvement, continuous delivery, and continuous deployment, for repositories. A client of ours, Kern’s Kitchen, is a Shopify hosted website that requires deployments from the command […]

Categories
Web

Fathom Analytics

The following is not entirely a step-by-step tutorial on how to get up and running with Fathom. Instead this is an overview of my setup and how I went about getting a Fathom server up and capturing data. Fathom Fathom is an privacy focused data collection system that replaces the need for using intrusive and […]

Categories
General

Importance of Perception

During my most recent performance review at work, my boss and I began discussing communication. For almost my entire life, I have had an weakness when it comes to communicating with my co-workers. I can articulate my thoughts well, and enjoy documenting code and processes, but there is a recurring perception that I “don’t care” […]

Categories
Web

Writing the Ferret Plugin

Recently I decided to begin leveraging the Sentry service for some of the WordPress sites I manage. I wanted to use this on several sites, and I noticed that Sentry has a PHP library but not an officially supported plugin for WordPress. There was one other plugin in the directory, but it essentially only acted […]

Categories
Software

Initial Thoughts on Flutter

While building an app in React Native, I accidentally stumbled on Flutter. I had heard of, but never used the Dart language and was surprised to learn that Flutter existed as a React Native alternative. Glancing the docs got me excited to try it out, so I wrapped up as much as I could to […]

Categories
Web

Testing WordPress Plugins with PHPUnit and WP Mock

Part 1: Up & Running Assumptions This article assumes a basic understanding of WordPress Plugins and the PHP language. I’ll also be using the OSX/Linux flavor in terminal examples. If you are on Windows, you will need to use your own respective commands. Testing code is important. It’s the only way to know for certain […]