07/11/2018 Sticky

Shortcut to Gutenberg: How To Learn Gutenberg Development in 6 Days

So I published How To Learn Gutenberg Development, which outlines a roadmap for learning ES6, React, Redux, and Gutenberg. This is a proven, and sure way to master Gutenberg.

But this approach also takes time. In fact several readers have reached out to me expressing that they don’t have time for a long learning process.

With Gutenberg in Core, developers need to be productive with Gutenberg right now.

As a consequence I’ve reworked my initial learning approach, to fit with this short timeframe. The learning process outlined below takes 6 days, or 3 weekends, or 48 hours.

At the end of it, you’ll be able to:

  • Adapt existing WordPress themes to work with Gutenberg content.
  • Add Gutenberg specific features to themes.
  • Understand the basics of React.
  • Feel comfortable exploring Gutenberg’s user interface component library.
  • Develop custom Gutenberg blocks.
Read More

29/08/2019

The Guide to WordPress Unit Testing Assertions

The WordPress Unit Testing Framework contains a set of custom assertion helper methods which help with writing unit test.

In this post, we’ll present these helper methods available through the WP_UnitTestCase case class. Each method is presented with its function signature, a description of what it does, as well as a sample usage in a unit test.

Read More

19/11/2018

How To Find the Gutenberg Source Code in WordPress 5.0

WordPress 5.0 ships with the Gutenberg plugin source code integrated into Core. As a consequence there are changes to how WordPress now ships JavaScript compared to previous releases. So even experienced developers might not be immediately able to find the Gutenberg source code in WordPress 5.0.

In this post you’ll learn how to:

  • Download the source code of WordPress.
  • Download the Gutenberg JavaScript dependencies.
  • Discover the location of the most important Gutenberg JavaScript libraries.
  • Create a runnable version (build version) of the source code.
Read More