PHP Core Roundup #4
Here's an update on what the PHP core contributors have been doing these past few weeks.
Read more [thephp.foundation]
Here's an update on what the PHP core contributors have been doing these past few weeks.
Read more [thephp.foundation]
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]
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.
"Always fresh, useful tips and articles. Carefully selected community content. My favorite newsletter, which I look forward to every time."
– arunas.dev - submitted by Arunas
You'll learn the difference between "tactical" and "strategic" programming, and why choosing the right approach is important in the long run.
Read more [arunas.dev]
A nice lighting talk given by my colleague Seb at the first edition of Full Stack Europe.
I wonder if Laravel should use this technique by default. It seems to have a major positive impact on performance.
Read more [aaronfrancis.com]
Thomas Votruba explains how you can go about this.
Read more [tomasvotruba.com]
Pretty cool what you can do with CSS nowadays
Read more [robbowen.digital]
– sive.rs
A nice writing tip by Derek Sivers
Read more [sive.rs]
Airdrop determines when you can skip building static assets, saving a LOT of time and server resources in continuous integration and deployment.
Read more [chipperci.com]
Povilas demonstrates a nice little features that was recently added to Laravel.
A typical Laravel application will likely have many routes, config files and possibly some events. In your development environment, these routes and config files will be loaded and registered in each request. The performance penalty for this is not too big. In a production environment, you want to…
In this blog post, Josh Comeau shares some of the epiphanies he's had about this distinction, and how you can use this information in day-to-day work.
Read more [www.joshwcomeau.com]
PHP 8.2 is scheduled to be released on the 24th of Nov, 2022. Of course, meanwhile, you may test the new features, syntax changes, and other improvements in your local environment.
Read more [nunomaduro.com]
Let's explain the two most important topics when working with RDBMSs: indexes and transactions.
Read more [architecturenotes.co]
– arunas.dev - submitted by Arunas
Before we learn strategies for better software design, we must understand our enemy - complexity. Let’s define complexity, how to spot it, and what causes it.
Read more [arunas.dev]
Composer 2.4 features scanning the installed and new packages for known security vulnerabilities. When a new package is installed, or an existing package is updated, Composer looks up the package version numbers on known security vulnerability announcements, and reports if there are any known vulnerabilities in the list of packages.
Read more [php.watch]
When developing web applications, you probably encounter a lot of places where someone needs to select one or more options in a select or multi-select. These select boxes always need a list of options with labels and values.
In one of our projects, we had options being generated in lots of places. Sometimes these lists of options were the same, leading to a lot of code duplication. Even worse, in some cases, different formats were used to output the same options.
That's why we've created a new package called spatie/laravel-options. It will take a resource which can create options such as an enum, a list of models or even a plain array. And will always create a standardized array of options you can use within your frontend application.
DRY is just like every other principle out there - it has its place, but it's best taken in moderation.
Read more [gordonc.bearblog.dev]
Let's check out how we can improve working with Livewire and Vite together, by using the Vite Livewire Plugin by Fabio Ivona.
Read more [christoph-rumpel.com]