mglaman.dev

Subscribe
Archives
June 16, 2023

mglaman.dev – June 16th, 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

I wrote about using site-specific service providers in Drupal, which is how Retrofit is integrated.



Registering services to the Drupal service container without a module

Drupal’s service container for dependency injection allows modules to register services and parameters to the service container or alter and modify the service container.

Tips & tricks

Boost dialogue with your future self. Current perspectives fade fast, so leave thorough notes for future reference and decision-making.

This week’s live stream

It had been a few weeks since I worked on phpstan-drupal, so I gave it some love! Added some stubs for better return types with AccessResult objects and dynamic service retrieval.



Twitch

Twitch is the world’s leading video platform and community for gamers.

Interesting links

  • Drupal Gitlab CI – Running contrib tests locally
    • GitLab CI is now available for all projects on Drupal.org. This blog post from Björn walks through using a local runner to run tests locally.
  • How I went from $100-an-hour programming to $X0,000-a-week consulting.
    • When I ran my consultancy, the hourly billing cycle was a grind; I wish I had this article a few years ago.

If you enjoyed this, consider forwarding it to a friend.

Have suggestions or ideas for future blog posts and newsletters? Let me know!

Don't miss what's next. Subscribe to mglaman.dev:
GitHub Bluesky Threads X LinkedIn Fediverse
Powered by Buttondown, the easiest way to start and grow your newsletter.