Laravel facades vs class aliases
– svenluijten.com - submitted by Sven
Diving into the difference between Laravel's facades and PHP's class aliases.
Read more [svenluijten.com]
Posts tagged with architecture
– svenluijten.com - submitted by Sven
Diving into the difference between Laravel's facades and PHP's class aliases.
Read more [svenluijten.com]
– myray.app - submitted by Spatie
Whether you're building a shiny new feature or refactoring a bug deep in a legacy codebase, before you merge your work to production you want to get rid of all those ray() calls you littered the codebase with.
Read more [myray.app]
Join thousands of developers
Every two weeks, I share practical tips, tutorials, and behind-the-scenes insights from maintaining 300+ open source packages.
No spam. Unsubscribe anytime. You can also follow me on X.
– doeken.org - submitted by Doeke Norg
The repository pattern is a data source abstraction that behaves like a collection; containing domain (value) objects. In this post we'll be exploring what a repository is, and what it is not.
Read more [doeken.org]
– svenluijten.com - submitted by Sven
How to effectively use interfaces to make your PHP package easier to work with and more customizable than ever before.
Read more [svenluijten.com]
– www.youtube.com - submitted by Andrew Cairns
Take a quick look at what is a Command Bus and develop a mental model on how to think about it and it's purpose.
Read more [www.youtube.com]
– blog.oussama-mater.tech - submitted by Oussama Mater
LLaravel offers an elegant method-calling feature called Facades. At first glance, they resemble static methods, but well, they are not! What kind of magic is Laravel doing?
Read more [blog.oussama-mater.tech]
– davorminchorov.com - submitted by Davor Minchorov
Everyone talks about over-engineering but people rarely talk about under-engineering. Learn about the differences and how they depend on the context you are in.
Read more [davorminchorov.com]
Here are some cool ways to structure URLs
Read more [blog.jim-nielsen.com]
– flareapp.io - submitted by Spatie
In this post we'll describe how we created a flexible yet abstract external integrations structure for Flare.
Read more [flareapp.io]
A nice intro into using Postgres as your queuing solution, and some nice thoughts abou the importance of scale.
Read more [adriano.fyi]
– ahmedash.dev - submitted by Ahmed Ammar
Diving into the core of Folio understanding how it works under the hood!
Read more [ahmedash.dev]
I don’t believe in the promise of cheap replays in event sourcing. They come with a cost, but can be very useful for the right problems.
Read more [sebastiandedeyne.com]
– fly.io - submitted by Chris Fidao
Utilize the best parts of any language to perform work for your Laravel app! Any language can and push and pull jobs to/from Laravel queues. Here's how.
Read more [fly.io]
In this sponsored talk given at Laracon India 2023, I demo all major Oh Dear features. After that, I share how the Laravel app behind Oh Dear is structured using domains.
The audio quality is not perfect, but it should still be understandable.
Before you write any code — ask if you could ever possibly want multiple kinds of the thing you are coding. If yes, just do it. Now, not later.
Read more [www.swyx.io]
– tighten.com - submitted by Jamison Valenta
Have you ever heard of a “kill switch”—a device meant to disable machinery if its owner is incapacitated? Turns out you can also build kill switches into your code. Tony shares four kill switch examples for Laravel applications.
Read more [tighten.com]
– www.eloquentarchitecture.com - submitted by John Freeman
The LoB principle dictates that the behavior of a unit of code should be as obvious as possible by looking only at that unit of code. But I think something is missing from this discussion.
Read more [www.eloquentarchitecture.com]
– medium.com - submitted by Mazen Touati
We will crack the controversy of the repository pattern in Laravel. The good and the bad, and what alternatives we can use to build a maintainable codebase.
Read more [medium.com]
In a standard Laravel application, you can schedule Artisan commands in your console kernel. While that works for most projects, we took a different route in Mailcoach. Instead of scheduling commands, we're scheduling jobs.
Read more [mailcoach.app]
As a system evolves, abstractions should arise from current needs, not future possibilities.
Read more [sebastiandedeyne.com]