Using AJAX in Laravel
This question came up in a forum where I drop by now & then. It is also something that I recall answering previously on one or two occasions. So I thought I’d write about it here with a rudimentary...
View ArticleSupercharged Models in Laravel
When I was first started playing around with NodeJS few months back, I came across Mongoose, a really neat ODM for MongoDB. You just needed to define the schema for each entity and pass it to that...
View ArticleAbstract properties in PHP
What are abstract properties? There are abstract methods but the notion of an abstract property seems a bit ridiculous. Why so, you might ask! Well, the thing is, methods are declared & defined...
View ArticleWordPress metaboxes Object Oriented way.....
This is something that I’ve been meaning to do for a while but didn’t get around to it till recently, or rather, mid November last year. I wanted a neat, clean, Object Oriented way to create metaboxes...
View ArticleiG:Syntax Hiliter v5.0
iG:Syntax Hiliter v5.0 is now available for download. Its been about two and half years since last release of v4.2 (v4.3 was a bugfix release made next day). What has changed? Well, lots on the code...
View ArticleFixing data encoding in a MySQL database
Offlate I’ve been working on a pet project, part of which involved restoring an old MySQL database. The backup was of MySQL data files and not a SQL dump. However, restoring database from those data...
View ArticleGraphQL 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 Article