Matt Glaman

443 Followers
100 Following
483 Posts
@rachel absolutely!

My book Understanding Drupal: A Complete Guide to Caching Layers is now published on LeanPub!

It covers the full caching stack: cacheable metadata, cache backends, render caching, response caching, HTTP headers, reverse proxies and CDNs, debugging, and writing cacheable code from scratch.

Three years in the making — worth it.

https://mglaman.dev/blog/understanding-drupal-complete-guide-caching-layers-now-published

#Drupal #PHP #WebDev

Understanding Drupal: A Complete Guide to Caching Layers is now published!

After starting in early 2023 and having a long hiatus from writing, my book Understanding Drupal: A Complete Guide to Caching Layers is now published on LeanPub! Three years ago (😱), I started working on this book that I wanted to self-publish.

mglaman.dev
@berdir so it's mostly naming, which feels really weird (like bypass should have been legacy and moving to administer) But I get it now
@berdir this seems so wrong, so Entity API and it's structure of admin permission and then granular CRUD is wrong? Why a bypass permission. The administer permission should allow all CRUD
@berdir we did this on purpose?!
The nightmare of permissions and OAuth scopes in Drupal

The Nightmare of Permissions and OAuth Scopes in DrupalDrupal's role-based access control is one of its strengths. Permissions and roles are well-understood, and the system is mature. But the moment you step outside the standard cookie-based session — say, into OAuth with the authorization code flow — you hit a wall that the core permission model never anticipated.

mglaman.dev

RE: https://phpc.social/@mglaman/115639715227012165

Update! All that remains is copy editing!

And fixing all of the cache debugging modules I wanted to include, none of them work on Drupal Core 11.3.

drupalorg-cli 0.8.0: GitLab issue fork and merge request commands

The 0.7.0 release was housekeeping — fixing the release notes command and clearing out deprecation warnings. 0.8.0 has two goals: add native GitLab issue fork and merge request commands, and make the CLI useful for developers using AI agents to assist with Drupal.org issues.

mglaman.dev

I know folks use drupal-mrn.dev, but many #Drupal maintainers still preferred to use my drupalorg-cli. The bad news is that the CLI was neglected and no longer works with newer commit formats.

But, now it does! 2.5 years later, drupalorg-cli has a new release

https://github.com/mglaman/drupalorg-cli

GitHub - mglaman/drupalorg-cli: A command line tool for interfacing with Drupal.org

A command line tool for interfacing with Drupal.org - mglaman/drupalorg-cli

GitHub
Automating Drupal release notes in Dependabot PRs

mglaman.dev