Building Oh Dear’s new design: Project setup
We are currently rebuilding the Oh Dear website and application frontend. In this post, you'll read more about the project setup and tools used.
Read more [ohdear.app]
We are currently rebuilding the Oh Dear website and application frontend. In this post, you'll read more about the project setup and tools used.
Read more [ohdear.app]
– doeken.org - submitted by Doeke Norg
DRY up code by deferring specifics to a callback.
Read more [doeken.org]
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’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
Passing booleans to a method can be code smell, as it is not clear what a boolean does by reading the calling code.
Unlike traditional Long-polling using AJAX requests, where multiple requests are sent to the server and a new connection is established each time, event streams are sent to the client in real-time in a single request.
Read more [devdojo.com]
Rohan Deshmukh on the value of avoiding SaaS products and self-host instead.
Read more [rohanrd.xyz]
PHP is such a good language at this point.
Read more [dnlytras.com]
Andrew Schmelyun built a very cool side project. I don't dare to introduce this at Spatie.
Read more [aschmelyun.com]
Andraes Möller blogged a few interesting strategies to name the constructors of your PHP objects.
Read more [localheinz.com]
While Amazon S3 is awesome for storage, It also has a feature called S3 Select. With S3 Select, You can use a simple SQL query to filter the content of the stored objects. and retrieve only a subset of data that you need.
Read more [sanjit.me]
I'm looking forward seeing with this group of developers will do for PHP.
Read more [opencollective.com]
Sometimes the extreme is surprisingly appropriate. Unique business models emerge when at least one dimension is so extreme that it defies critics and competitors to even conceive of its possibility.
Read more [longform.asmartbear.com]
Probably you'll never use this way of sorting in a real app, but it's kinda cool that it'll work.
Read more [kevlinhenney.medium.com]
The Laravel team released the next major version of Laravel Valet (3.0), which introduces running multiple versions of PHP in Valet applications side-by-side.
Read more [laravel-news.com]
In this article, Louis Lazaris describes and demonstrates some interesting HTML attributes that you may or may not have heard of and perhaps find useful enough to personally use in one of your projects.
Read more [www.smashingmagazine.com]
Shawn McCool shares some interesting thoughts on how things should be named.
Read more [shawnmc.cool]
I'm happy to announce that we have released Visit. This tool can display the response of any URL. Think of it as curl for humans. By default, the output will be colourized, and the response code and time will be displayed after the response.
JSON responses will be colourized by default as well.
And there's integration with Laravel: it can log in any user, report the numbers of queries used to build up the response, and more.
I'd like to tell you all about it in this blog post.
– sinnbeck.dev - submitted by René Sinnbeck
Are you getting errors with laravels groupBy()? Here is short explanation of why.
Read more [sinnbeck.dev]
– tray2.se - submitted by Patrik Ahlström
You might think that the way your store your data isn't really that important. Well it's more important than you think it is. A good database design just like good clean code is the key to performance, not only for the end user but also for you the developer. A poor database model just like poorly written code will slow you down and furthermore it will slow your database queries down which results in a slow application.
Read more [tray2.se]
– barryvanveen.nl - submitted by Barry van Veen
I made a script to easily take consistent measurements using Apache Benchmark. It includes an easy way to compare multiple measurements in a visual way.
Read more [barryvanveen.nl]
This talk by Kevlin Henney looks at how a handful of coding habits, design practices and assumptions can systematically balloon code and compound its accidental complexity.