Working with DynamoDB in Laravel
– ashallendesign.co.uk - submitted by Ash Allen
Learn about how to use DynamoDB in Laravel for caching and storing Laravel models.
Read more [ashallendesign.co.uk]
– ashallendesign.co.uk - submitted by Ash Allen
Learn about how to use DynamoDB in Laravel for caching and storing Laravel models.
Read more [ashallendesign.co.uk]
– onfold.sh - submitted by Nicolas Beauvais
SQLite is getting all the hype lately, but can it really compete with MySQL and PostgreSQL for production web applications?
Read more [onfold.sh]
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.
"Freek publishes a super resourceful and practical newsletter. A must for anyone in the Laravel space"
– www.conroyp.com - submitted by Paul Conroy
Writing tests to validate behaviour in a multi-tenancy, multi-database app can be challenging. "Lock wait timeout" errors, or transactions cleaned up in one db and not another - it can be very frustrating! Fortunately, Laravel has a way to support db transactions across multiple databases.
Read more [www.conroyp.com]
A nice intro into using Postgres as your queuing solution, and some nice thoughts abou the importance of scale.
Read more [adriano.fyi]
Tim McDonald explains Laravel's cool whenQueryingForLongerThan method.
Read more [timacdonald.me]
– stefanzweifel.dev - submitted by Stefan Zweifel
Do you create automated backups of your database? Are you sure they work? laravel-backup-restore is a new package than can help you verify the integrity of your backups.
Read more [stefanzweifel.dev]
– arunas.dev - submitted by Arunas
If you have jobs and listeners being fired within database transactions, it can lead to data inconsistencies if the transaction rolls back. Learn how to properly handle them here.
Read more [arunas.dev]
This is a fantastic course by Aaron Francis. I've already watched most of the videos, and I can tell you it's one of the best courses I ever saw.
Read more [planetscale.com]
Here's a strategy for soft deletes where you move data to another table instead of leaving it in-place.
Read more [brandur.org]
– tray2.se - submitted by Patrik Ahlström
Tracking changes in a table or several tables for that matter can be essential for your application, and we are going to take a look on how to do that using only the MySQL/MariaDB database.
Read more [tray2.se]
– tray2.se - submitted by Patrik Ahlström
What is a database view, and how can we use it to make our code cleaner?
Read more [tray2.se]
– fly.io
The good people at Fly.io have but together a way to use SQLite in a distributed way.
Read more [fly.io]
– fly.io
Chris Fidao makes sure that an app feels fast no matter from where you visit it. Fascinating stuff!
Read more [fly.io]
Pretty cool that you can achieve this by executing a query, and without application logic.
Read more [sqlfordevs.com]
– aaronfrancis.com - submitted by Aaron Francis
Spoiler: it is optimized to be fast, and you should use it.
Read more [aaronfrancis.com]
A very nice technique to decrease concurrency and prevent deadlocks.
Read more [planetscale.com]
This post will walk through how database indexes work, with a particular focus on MySQL, everyone’s (well, many people’s) favorite homegrown organic database.
Read more [planetscale.com]
I wonder if Laravel should use this technique by default. It seems to have a major positive impact on performance.
Read more [aaronfrancis.com]
Let's explain the two most important topics when working with RDBMSs: indexes and transactions.
Read more [architecturenotes.co]
We've released a new package called spatie/laravel-sql-commenter. This one can add comments to SQL queries. These comments allow you to easily pinpoint the origin of a query when looking at your query log.