PHP Security Basics: Input Validation

Validation is a technique to ensure that input is secure before using it in your code.

When validating data, you are verifying that it corresponds to what the program needs. This only works if you have a list of criteria that you can check to determine that the data is valid.

In this article, we’re going to look at:

Read More

Code Review Checklist

Code review has been an integral part of my career as a developer. Whether it in the beginning through reviewing themes for, reviewing client code at VIP, or now when reviewing code from peers as a Principal Engineer at Human Made.

Code review has both allowed me to learn and grow as an engineer, as well as teach and mentor other developers in return.

There is an ever growing number of issues that I look out for. This article is just a list of all these things, and the reference I use for reviews.

Read More

How To Fix the “this.activateMode is not a function” Error in Gutenberg

Imagine you are busy developing a Gutenberg block. You reload the page, and suddenly the editor will break, displaying an The editor has encountered an unexpected error. message. You look into the JavaScript console of your browser, and see a this.activateMode is not a function error.

In this article we’ll look at why this error occurs, and how you can fix it.

Read More