View e-mail in browser
 

newsletter #88


Hi, welcome to the 88th freek.dev newsletter! 

How to add webmentions to a Laravel powered blog
The comment section of this blog used to be powered by Disqus. At its core, Disqus works pretty well. But I don't like the fact that it pulls in a lot of JavaScript to make it work. It's also not the prettiest UI. I've recently replaced Disqus comments with webmentions.

Implementing event sourcing: testing aggregates
My team at Spatie released another new version of laravel-event-projector that adds test methods. These methods allow you to verify if the aggregate behaves correctly. In this post, I'll show you an example and explain how the test methods are implemented.

Disguise PHAR packages as images
Scary stuff.

There’s more than one way to write an IP address
Mattias Geniar explains all the ways an IP address can be written.

Algebraic Effects for the Rest of Us
You can think of algebraic effects as resumeable try catch blocks 🤯. In a new post on his blog React dev Dan Abramov explains the concept.

📺 Watch Taylor Otwell reveal Laravel Vapor at Laracon US
At the Laracon US conference in New York, Taylor Otwell released Laravel Vapor, a new platform for serverless hosting backed by AWS services.

A Shifty Email Bug
Jason McCreary, creator of Laravel Shift, wrote a post mortem on a problem where too many mails were sent.

Avoiding booleans
In an older but still relevant post, Jeff Atwood shares why you shouldn't use boolean parameters and how this translation to UI.

The fear of missing out in web development
Mohammed Said wrote some thoughts on FOMO that resonate with me.

Run and stop multiple long-running commands from Bash with a trap
Liam Hammett explains how you can use the trap command to stop multiple bash process in one go.

Domain Events vs. Event Sourcing
Christan Stettler wrote an interesting post on why domain events and event sourcing should not be mixed up.

The €963 Book Launch That Made Me Wish To Get Back To My Secured Job
Christoph Rumpel wrote an honest lookback at the launch of his book. I takes courage to publish a post like these. Well done!

Meanwhile on Twitter

On Twitter I see a bunch of people regularly tweeting very nice code snippets.

Add a prefix to your Chrome tabs

Customize validation error messages in a form request

Keep the MacOS desktop empty

Ordering columns with null values

Useful links from the archives
 

My interview on the Laravel podcast

Everything is Anything: The Unlikely Wisdom of Historical Stabbings

A few notes about the frontend of the renewed spatie.be

A new website for Spatie: backend highlights

Take a look into your Laravel views

A new security header: Feature Policy

Objects should be constructed in one go

Introducing laravel-event-projector: the easiest way to get started with event sourcing in a Laravel app
 
 
Advertisement opportunities at freek.dev

You are receiving this mail because you've subscribed at https://freek.dev

Unsubscribe