Hands-on with Portals: seamless navigation on the Web
Wouldn't it be nice if users wouldn't see a blank screen when navigation to another URL? Portals allow you to preload the next page and transition to it with a nice animation.
Read more [web.dev]
Wouldn't it be nice if users wouldn't see a blank screen when navigation to another URL? Portals allow you to preload the next page and transition to it with a nice animation.
Read more [web.dev]
Project Lanai is a joint effort between JetBrains and Oracle that looks to solve performance problems by utilizing Apple's Metal API for rendering the application instead of OpenGL. My colleague Alex tried using it in PhpStorm
Read more [alexvanderbist.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.
"If you are one of the *millions* who have downloaded a Spatie package, then you understand the quality that Freek aims for. The newsletter is of the same quality of any Spatie package you're using."
– reinink.ca – Edit
Jonathan Reinink published another excellent blogpost on db performance.
Read more [reinink.ca]
– ohdear.app – Edit
We're excited to announce all Oh Dear users now have access to detailed performance metrics for all of their websites!
Read more [ohdear.app]
– medium.com - submitted by Vasily – Edit
A nice introduction to AOP in PHP, with a focus on performance, with a lot of benchmarks.
Read more [medium.com]
– addyosmani.com – Edit
Did you know modern browsers can lazy load images out of the box? Laravel-medialibrary now supports this too.
Read more [addyosmani.com]
– thephp.website – Edit
PHP 8’s Just In Time compiler is implemented as part of the Opcache extension and aims to compile some Opcodes into CPU instructions in runtime. Nickolas Da Silva explains how it works.
Read more [thephp.website]
– stefanzweifel.io - submitted by Stefan Zweifel – Edit
Stefan Zweifel recently had to refactor an Excel export which deals with thousands of rows. Lazy Collections helped solve all performance problems.
Read more [stefanzweifel.io]
by Freek Van der Herten – 3 minute read – Edit
Our spatie/laravel-event-sourcing package is probably the best starting point for event sourcing in Laravel. It has excellent docs, that explain event sourcing from scratch, support for aggregates, projectors, and much more! It's all beautifully integrated in Laravel.
Recently we released v3 of the package. In this blogpost I'd like to walk you through the changes.
– www.websitecarbon.com - submitted by Brent – Edit
How is your website impacting the planet?
Read more [www.websitecarbon.com]
Joe Watkins compares the execution speed of PHP 4 against PHP 8. It's amazing how far PHP has come.
Read more [blog.krakjoe.ninja]
Yan Cui explains a feature called "Provisioned concurrency" that Amazon recently launched
Read more [lumigo.io]
– twitter.com – Edit
Did you know that the null coalescing assignment operator in #PHP 7.4 can be used to make memoizing stuff a little more clean? pic.twitter.com/SWWJEXQBLx
— Brent (@brendt_gd) January 16, 2020
Read more [twitter.com]
– Edit
Nikita Popov discusses some low level performance optimizations in PHP.
by Freek Van der Herten – 3 minute read – Edit
A while ago, I created an easy to use framework agnostic PHP package to read and write CSV and Excel files called spatie/simple-excel. Behind the scenes, generators are used to ensure low memory usage, even when working with large files. Today I added a method that allows you to stream CSV files to the browser. In this small blog post, I'd like to demonstrate how you can use it.
– ma.ttias.be – Edit
My buddy Mattias recently improved the performance of the Oh Dear uptime checker servers by disabling the HTTP sessions.
If you run a Laravel application purely as a headless API, you can benefit from disabling the HTTP sessions. We use this setup for our Oh Dear monitoring service, where the remote servers that check for uptime are all headless Laravel setups.
Read more [ma.ttias.be]
– stitcher.io – Edit
My colleague Brent solved a performance by creating a custom relation
One last solution that came to mind was to load all people, all contracts, and map them together manually. In the end that's exactly what I ended up doing, though I did it in the cleanest possible way: using custom relations.
Read more [stitcher.io]
– twitter.com – Edit
? Did you know you can add query-constraints when eager loading relationships in Laravel?
— Stefan Zweifel (@_stefanzweifel) November 12, 2019
Perfect opportunity to improve query performance when your relationships return thousands of models.
↳ Full example: https://t.co/RsezzpkWoC pic.twitter.com/nwjC7U8Oqa
Read more [twitter.com]
– tideways.com – Edit
On the Tideways blog, Benjamin Eberlei explains PHPs garbage collection internals.
It's helpful to have a broad understanding of how garbage collection works in PHP, along with how you can interact with it so that you can create high performing applications.
Read more [tideways.com]
– adamwathan.me – Edit
Adam Wathan explain how can avoid re-rendering the entire UI everytime you click a link in Next.js
Next.js is such a wonderfully productive development experience and produces such incredibly fast websites that I just refused to believe it had to be this way. So I spent a few weeks researching, asking questions, and experimenting, and came up with these four patterns for persistent layouts in Next.js applications.
Read more [adamwathan.me]