Quantcast
Channel: PHP | Canned Atropine!!
Browsing latest articles
Browse All 39 View Live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

The 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 Article


Image may be NSFW.
Clik here to view.

Using 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 Article

Image may be NSFW.
Clik here to view.

iG: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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


Image may be NSFW.
Clik here to view.

Laravel’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 Article

Image may be NSFW.
Clik here to view.

To 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 Article

Image may be NSFW.
Clik here to view.

Supercharge 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 Article


Image may be NSFW.
Clik here to view.

The 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 Article


Image may be NSFW.
Clik here to view.

Cache 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
Browsing latest articles
Browse All 39 View Live