Category: PHP

Caddy rewrite and CodeIgniter

Caddy it’s a new kid in the block in category super light web servers. Personally – I love it. Same love I feel to CodeIgniter. To marge both of them, we need only basic...

JSON objects in PHP

PHP is easy. You don’t have to know type of variable, before you use it. But sometimes it’s very problematic especially when we are dealing with JSON. Here is an example: { “page-size”:50, “channel”:”buy”, “sort”:{},...

How slow is FOUND_ROWS function in MySQL

From many different reasons I was always using SQL_CALC_FOUND_ROWS to get total number of records, when i was running limited query. Never especially thought about it, until i had some super performance issues with one...