What I Wish Someone Told Me About Postgres
Postgres has many nuances and best practices that are important to understand.
Read more [challahscript.com]
Postgres has many nuances and best practices that are important to understand.
Read more [challahscript.com]
While scopes are useful for simple queries, custom query builders are preferred for complex or frequently used queries.
Read more [blog.oussama-mater.tech]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"As a Laravel developer, this is the one newsletter I most look forward to. Freek has a talent for distilling packages or techniques down to something immediately useful - one tip can save you hours and even weeks. It's concise and practical and highly relevant."
Tomas shares his approach to get the most out of mocks, drop dead code, and make tests more valuable.
Read more [tomasvotruba.com]
– davorminchorov.com - submitted by Davor Minchorov
Learn about data transfer objects, why they are useful and why it's better to use them over arrays.
Read more [davorminchorov.com]
– alsterholm.com - submitted by Andreas Alsterholm
A blog post explaining some benefits (and drawbacks) of using custom Eloquent collections.
Read more [alsterholm.com]
– dev.to
Spoiler: it doesn't really matter anymore as long as you're using a modern version of PHP
Read more [dev.to]
This site offers some good alternatives for modals
Read more []
– backpackforlaravel.com - submitted by Karan Datwani
Read more [backpackforlaravel.com]
– geoligard.com - submitted by Goran Popović
See how to easily modify and override methods found in the framework's Request class in order to handle specific routes with sizeable payloads.
Read more [geoligard.com]
– jump24.co.uk - submitted by jamie peters
We all strive to write good code when we jump onto a project but sometimes do you wonder why?
The post covers
The techniques here are useful for all level of developers and worth a quick skim over as we all nothing wrong with a quick refresher
Read more [jump24.co.uk]
– wire-elements.dev - submitted by Philo
Livewire Strict helps enforce security measures and prevents you from having unprotected sensitive public properties.
Read more [wire-elements.dev]
Some great insights by Kent Beck
Read more [tidyfirst.substack.com]
– hakanaktas.com.tr - submitted by Hakan
A pragmatic approach to avoiding early optimizations
Read more [hakanaktas.com.tr]
– davorminchorov.com - submitted by Davor Minchorov
Learn about the differences between thinking in terms of data (CRUD) vs thinking in terms of business processes (behaviour) and how it affects code maintainability.
Read more [davorminchorov.com]
– acairns.co.uk - submitted by Andrew Cairns
Explains what the Code Smell 'Primitive Obsession' is, the damage it can cause to your codebase, how to spot it and - how to fix it!
Read more [acairns.co.uk]
– seankegel.com - submitted by Sean Kegel
Use tappable scopes in Laravel to break down complex queries into reusable pieces without needing to use magic query scopes in Laravel.
Read more [seankegel.com]
– lukapeharda.com - submitted by Luka Peharda
Read how I fixed performance issues when refactoring and optimising legacy code with method signature inconsistency, done unintentionally by developer
Read more [lukapeharda.com]
– atlas.dev - submitted by Mitchell Davis
This article outlines why we use Inertia with Laravel at our agency in 2024, and makes the case for why you should consider using Inertia too.
Read more [atlas.dev]
You should consider using the handle() method for dependency injection in Artisan commands, rather than __construct().
Read more [ides.dev]
– ahmedshamim.com - submitted by Ahmed Shamim
Laravel provides some excellent 'Retry' mechanisms out of the box for handling transient failures! In this article, we'll learn about these mechanisms to build a reliable system using Laravel!
Read more [ahmedshamim.com]