Blog

Thoughts on PHP, Laravel, AI, and software engineering.

Laravel Updated

Eloquent Performance: Faster LIKE searching

Learn how to LIKE operator could affect your seaching performance

Laravel Updated

Eloquent Performance: Multiple counting using one single select

Learn how to use count different statues using one single select statement

Laravel Updated

Eloquent Performance: Reusable relationships

Learn how to make your Eloquent queries run faster by using the reusable relationships

Laravel Updated

Eloquent Performance: Fake relationships

Learn how to use fake relationships to create robust queries

Laravel Updated

Eloquent Performance: Subqueries

Learn how to use subqueries

Laravel Updated

Eloquent Performance: Eager-loading

Learn how to fix N+1 issues by using the eager-loading

Laravel Updated

Eloquent Performance: Avoid SELECT *

Learn how to select only the needed columns to make your query runs faster

Laravel Updated

Eloquent Performance Tips

A series of posts that teaches you how to optimize your Eloquent queries

PHP Updated

PHP ternary operator, elvis operator, null coalescing operator, and null safe operator

Learn the differences between these four operators in PHP

PHP Updated

Doubly-Linked List, Stacks and Queues in PHP

Learn how to use the doubly-linked-lists, stacks, and queue data structure in PHP

Elasticsearch Updated

Introduction to Elasticsearch

Learn the basic of Elasticsearch

Python Updated

Deploying Python web applications

Learn how to deploy a Python web application using Gunicorn and NGINX