Skip to main content

📘 Understanding Drupal: A Complete Guide to Caching Layers — my new book is out now!

[2019-12-02]

Improving the handling of Drupal JSON:API hyperlinks in GatsbyJS

#24for2019 #drupal #gatsbyjs

I have been tracking down an interesting quirk when parsing JSON:API resources with the Drupal source plugin for GatsbyJS. I have a test environment with the JSON:API Schema module installed and was receiving errors about data in the links property.

[2019-12-01]

Revisiting GatsbyJS and Drupal Commerce

#24for2019 #drupal #gatsbyjs #decoupled

The Drupal community has taken to GatsbyJS, the React framework that lets you easily build static (and more) websites (or applications.) And, honestly, this makes a lot of sense. Drupal is a great content management system and it even has ways to create microsites within one installation (thanks to techniques like the Domain module.)

[2019-11-21]

Gearing up for the 2020 conference season

#drupal
It's time to start gearing up for the 2020 conference season! 2019 isn't over yet, but I'm pretty excited about the next conference season. A lot of things are happening in Drupal. Drupal 9 will be released in June 2020! That means each conference will be abuzz with contributions and decision making to make this a great release and smooth transition. Here are some events I have my eyes on!
[2019-08-19]

I just freed up 3GB of disk space due to random node_modules directories laying around old projects and experiments on my computer.

The project is called npkill and I found it on Reddit today. I have used disk analysis tools before, but they have made it hard to find small files which eat disk. Yes, Grand Perspective helped me find out I had 15 instances of Chromedriver due to node_modules, due to different open source and client projects. But npkill has helped be truly reclaim my disk.

[2019-08-17]

Comments like these make the Drupal community such an awesome open source ecosystem to work within. Thanks, Mateu ?

[2019-07-06]

Using ReactPHP to run Drupal tasks

#drupal #reactphp #php
ReactPHP is an event-driven non-blocking PHP framework that allows to you work in a long-running script through an event loop. At its core, ReactPHP provides an event loop and utilities to trigger events at specific intervals and run your code. This is different than normal PHP script execution which of a short lifecycle and per individual requests.  ReactPHP has been used to build web server applications, web socket servers and more. But, what if we used ReactPHP to execute operations and tasks on a Drupal application?
[2019-07-02]

Deprecation message support for PHPStan

#phpstan #drupal

The end of May brought two exciting releases for PHPStan and the PHPStan Deprecation Rules extension. With the version of PHPStan v0.11.8, descriptions added to the @deprecated tag can be parsed and returned in rule checks.