mglaman.dev – May 19, 2023
Hey there!
Here's your weekly newsletter from me, Matt Glaman!
Was this forwarded to you? You can subscribe here!
My latest blog post
This week I wrote about an AMAZING new developer experience improvement that will ship with Drupal 10.1.0. As Mike Herchel said, "Disabling Twig Caching Just Got A Helluva Lotta Easier."
Simplifying the frontend developer experience in Drupal with a click of the button
Last year at DrupalCon Portland 2022, Dries announced that "Drupal is for ambitious site builders." It refined the "Drupal is for ambitious digital experiences" vision. It chooses to focus on a specific persona and improve their experience with Drupal.
Tips & tricks
Make concise changes when working with existing code.
If you have a refactoring idea outside your current scope of work, write the idea down as a future ticket. It may not be immediately prioritized, but it will not get lost. This keeps you on task and allows later evaluation of the desired refactoring. It may not seem like such a great idea later on.
This week's live stream
I dove into some CI maintenance with phpstan-drupal and improvements to RenderCallbackRule
for union-type callables that contain variables.
Twitch
Twitch is the world's leading video platform and community for gamers.
Interesting links
- How the PHP Middleware Pattern works and can easily be applied
- An interesting blog post about applying middleware patterns beyond request and response handling
- Avoiding empty() in PHP
- I have been avoiding using
empty()
over the past two years and found this article interesting
- I have been avoiding using
- Lo-fi Coding playlist by JetBrains on Spotify
- JetBrains has made a Spotify playlist! I've been listening all week while working.
If you enjoyed this, consider forwarding it to a friend.
Have suggestions or ideas for future blog posts and newsletters? Let me know!