mglaman.dev – July 14th, 2023
Hey there!
Here's your weekly newsletter from me, Matt Glaman!
I was on the DrupalEasy podcast to talk about PHPStan with Mike Anello; check it out!
Was this forwarded to you? You can subscribe here!
My latest blog post
I was late publishing my blog post and this newsletter because I went down a rabbit hole of Fibers and async programming in PHP. It turns out we can probably use Fibers to handle concurrent placeholder rendering for BigPipe!
Can we use concurrency to speed up streamed BigPipe responses in Drupal?
I have been reading The Pragmatic Programmer and just finished the Concurrency chapter. At the same time, I found Nick Gavalas's blog post "parallelizing" php and keeping it simple, which talks about his time at Facebook when they developed the concept BigPipe and pagelets.
This week's live stream
I dove into drupal-rector. We're trying to get the package compatible with Rector 0.17.3.
Twitch
Twitch is the world's leading video platform and community for gamers.
Interesting links
- RFC 7591: OAuth 2.0 Dynamic Client Registration Protocol
- I was shown this RFC for handling dynamic client registrations for applications that use OAuth. I have been reading it to see how it could be used for client registration at larger scales.
- ReactiveX
- I have been going down the async and event-based design rabbit hole. ReactiveX is an extension of the Observer Pattern for async and event-based systems. I've used the JavaScript implementation rxjs and want to experiment with the [RxPHP(https://github.com/ReactiveX/RxPHP) library for PHP.
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: