Quantcast
Channel: Josh Pollock
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

Getting Started With React Unit Testing For WordPress Development

When I first looked at Vue vs React, I chose VueJS. One of the reasons was that I felt like Vue was a better choice was the complexity of React classes and life-cycle events. I felt like that was a lot...

View Article



Image may be NSFW.
Clik here to view.

Testing Nested Components In A React App

This post is part of a series on React development for WordPress developers. In my last post, I covered unit testing React components using Jest. Jest, when used for basic assertions and snapshot tests...

View Article

Small is the New Big: An Interview with Paul Jarvis

If our server can’t keep up with the number of requests its getting, we have two basic options; scale up, add more servers or server resources, or make the program more efficient. A perfectly-optimized...

View Article

Testing React Components With Enzyme

So far in my series of posts on React development for WordPress, I’ve covered React basics, create-react-app and testing with Jest. Jest is useful for testing the rendering of React components. There...

View Article

Sharing React Components With Gutenberg

The new WordPress block-based editor Gutenberg is coming to the WordPress soon. While no one has yet defined where Gutenberg will next be used, its been well architected for reuse, which is great,...

View Article


Testing jQuery with Jest in WordPress Development

I recently wrote a series of posts on testing React apps and a series on using phpunit for testing WordPress plugins. Those covered testing brand new code and writing it in a way that is testable. One...

View Article

Adopting TDD for an Existing Plugin

Test-driven development (TDD) is a philosophy of software development that is based on writing tests before writing a feature or bug fix. This is a big difference in terms of how you think about...

View Article

Using the WP Queue to Copy REST API Data to Files

Recently Matt Shaw from Delicious Brains published a post about a new library they created to help in one of their products. This library WP_Queue provides a Laravel-like Job management system for...

View Article


Using Express To Build A Node.js Server To Proxy The WordPress REST API

Currently, the WordPress front end is powered by JavaScript. That’s clear. But what about the server-side? We’ve always used PHP, but the more I learn JavaScript development and the more I use it, the...

View Article


Developer Automation With NPX and Commander

The more I learn about JavaScript development, the more I’m exposed to JavaScript build and config tools. The tools such as babel and webpack, frustrate me. The config tools, the magic software of joy...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images