Josh Pollock

Josh Pollock @shelob9

About: PHP & JavaScript engineer/ dog enthusiast. He is working on [PluginMachine](https://pluginmachine.com) a framework for WordPress plugin development.🌱🌵🌲

Location:
Pittsburgh, PA
Joined:
Mar 21, 2018

Josh Pollock
articles - 17 total

Parsing WordPress Block Data

Before WordPress 5.0, content for posts was stored as a string. It may or may not have contained HTML...

Learn More 17 0Feb 27 '21

Josh Update: 2021

Last week I shared some Josh news on twitter that it was my last week at Saturday Drive. To answer a...

Learn More 2 5Feb 17 '21

Using Docker For Local Development Of Headless WordPress Sites With NextJS

Back in 2016, I was talking about adding how the WordPress REST API was the first step in evolving Wo...

Learn More 43 2Jan 13 '21

How To Use WordPress As An Authentication Provider For Laravel

Like a lot of PHP and JavaScript developers, I started web development by learning enough PHP and...

Learn More 22 2Jan 3 '21

I Love Writing JavaScript, But Livewire Is A Great Way To Avoid Writing JavaScript For Stupid Reasons

I suppose it is tempting, if the only tool you have is a React, to treat everything as if it were JS...

Learn More 36 8Jan 1 '21

Unit Testing Classes That Call Functions From WordPress Core

In general, I make the distinction between unit and integration testing based on dependencies. A unit...

Learn More 15 3Nov 30 '20

I Made An App With Userbase And Have Written A Blog Post About It

This blog post is about Userbase. It's not a tutorial. I made one app with Userbase, these are some i...

Learn More 21 0Nov 22 '20

How To Use Docker For WordPress Development

When developing WordPress sites, apps, plugins and themes, it's always a good idea to work with a loc...

Learn More 46 4May 7 '20

Developing WordPress Blocks Without WordPress

Now that WordPress has React-powered editor with code decoupled from WordPress, we do not need WordPr...

Learn More 24 0Mar 3 '20

Typed Properties In PHP Are Neato

Until recently, for a PHP and JavaScript developer, avoiding bugs caused by variables being the wrong...

Learn More 10 1Feb 1 '20

How To Immutably Update An Array In TypeScript

Using an array to collect objects is useful. But, it presents some challenges with searching and upda...

Learn More 28 5Jan 31 '20

Testing Node's Event Emitter

Today at work, I implemented a basic event system using Node's EventEmitter class. I am developing a...

Learn More 11 0Jan 24 '20

Gitlab CI For A TypeScript Project Bootstrapped With TSDX

Since I started working at Saturday Drive I've spent a lot of time learning about CI/CD using self-ho...

Learn More 10 0Jan 22 '20

Why I Use Yarn, Not npm

Update: This post is based on using Yarn 1. A major update Yarn 2 has been released. I use Yarn 1.x....

Learn More 135 16Jan 18 '20

A Few Things I Do Every Time I Start A New Gatsby Site

I'm a big fan of Gatsby.js. It powers my blog and a my other random sites. I've been trying our some...

Learn More 54 9Jan 17 '20

Returning A Promise From A Function Is Extra Useful With TypeScript

I published a post recently about returning promises from JavaScript functions. The example code was...

Learn More 14 4Jan 10 '20

Returning A Promise From A JavaScript Function Is Useful

One JavaScript feature that has tripped me up a bit recently is the difference between a function tha...

Learn More 13 1Jan 7 '20