GraphQL in the world of WordPress as Headless CMS. To be or not to be?
Headless CMS are all the rage from past some time. The idea of rendering a full page from the CMS itself for every request seems old & boring. To a certain point, the benefits of going Headless...
View ArticleThe Need for Speed - Reprise!
Last time I posted a similar titled post, it was 15 years ago and about a benchmark comparison on four PHP frameworks out of which one is no more, one is pretty much alive only in name and one is...
View ArticleUsing regular timestamp or random string as unique ID is a bad idea!
Yesterday I came across this short article on dev.to which advised against using timestamps as unique IDs in file names when handling file uploads. The author instead recommended using a random string...
View ArticleiG:Syntax Hiliter v5.1
It’s been almost 7 years since the release of v5.0; seems like it’s becoming a pattern. The funny (& sad) thing is that this release would’ve come out in 2020 and is two years late. GeSHi library...
View ArticleHow to use Inertia.js & React with modular Laravel
Laravel is a great framework written in PHP & at this point needs no introduction. Everyone who uses Laravel has their own way of doing things, organising their code etc. Some build the app the...
View ArticleLaravel’s migrate:fresh command breaking with multiple databases? Here’s how...
Laravel is great at good many things and its inbuilt ORM & query builder makes working with multiple databases a breeze. But while working yesterday, I came across a curious issue – running artisan...
View ArticleTo GIN or not?!
I’ve been tinkering around with PostgreSQL off-late while working on a project, using Laravel as my framework of choice. Its been many years since I looked into PostgreSQL, enough to say that I might...
View ArticleSupercharge your Laravel app with custom data types in PostgreSQL
While I’ve been tinkering around in PostgreSQL off late, one of the things I looked into a bit more thoroughly (other than index types) was data types. PostgreSQL offers a wide range of data types but...
View ArticleThe Need for Speed – 2024 Edition
I did the previous version of this 3 years ago in 2021. In that benchmark I compared Laravel Octane (with Swoole), Fastify & Go Fiber – with Go Fiber coming out a clear winner as far as performance...
View ArticleCache Groups: Organized server-side caching for all
Consider this: Your web application is growing rapidly. What started as a simple caching strategy, storing a few user sessions and API responses, has evolved into a complex web of cached data. Your...
View Article