Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My sql
blog and Updates

It's my personal blog and my post about what was my interested in. Not regularly. If you have any questions any discussion, I'm happy you get in touch with me, and try to answer as many as possible!

Blog
Let's See
Back to blog
Filter by:
Tags
//Article

MySQL vs PostgreSQL for Laravel Projects: An Honest, Benchmark-Free Comparison

MySQL vs PostgreSQL for Laravel Projects: An Honest, Benchmark-Free Comparison

Blog Summary

For a typical Laravel app, both MySQL and PostgreSQL are excellent. The real differences are at the edges: JSON, extensions, migrations, case sensitivity and your team. Here's where each one wins, and how to decide.

Read more
  • 140
  • 29
  • 21

Character Sets, Collations and Sorting: Why Your Database Thinks "Sara" Equals "sara"

Character Sets, Collations and Sorting: Why Your Database Thinks "Sara" Equals "sara"

Blog Summary

A unique email that rejects a different capital letter, lists that sort differently in PHP and MySQL, Arabic searches that miss: all collation. Here's how character sets and collations work, and how to choose them on purpose.

Read more
  • 45
  • 29
  • 10

Writing Laravel Migrations That Are Safe to Run Twice and Easy to Roll Back

Writing Laravel Migrations That Are Safe to Run Twice and Easy to Roll Back

Blog Summary

In MySQL, a migration that fails halfway stays half-applied, and Laravel thinks it never ran. Five habits make retries and rollbacks boring again: small migrations, guards, honest down methods, separate data scripts and CI round trips.

Read more
  • 95
  • 146
  • 11

UUID vs ULID vs Auto-Increment: Choosing IDs That Don't Race, Leak or Slow You Down

UUID vs ULID vs Auto-Increment: Choosing IDs That Don't Race, Leak or Slow You Down

Blog Summary

Auto-increment IDs leak your volume, random UUIDs can hurt insert performance, and neither is a security fix on its own. Here's how UUID, UUIDv7, ULID and plain integers really compare, and the hybrid that often wins.

Read more
  • 63
  • 38
  • 24

Seven Mistakes When Building Search Features (and What to Do Instead)

Seven Mistakes When Building Search Features (and What to Do Instead)

Blog Summary

Search looks like a lunchtime feature: one input, one LIKE query. Then real data arrives and it's slow, badly ranked and allergic to typos. Seven common search mistakes and the fixes, from FULLTEXT to Laravel Scout.

Read more
  • 50
  • 147
  • 4

Database Replication Explained: Primaries, Replicas and the Lag That Bites

Database Replication Explained: Primaries, Replicas and the Lag That Bites

Blog Summary

The user saves a form, gets redirected, and sees "record not found". Then they refresh and it's there. How database replication works, what Laravel's sticky option fixes, and the lag problems it doesn't.

Read more
  • 13
  • 23
  • 4

01. About Shiroz

Mohammed Shiroz

Hi, I'm Mohammed Shiroz, a software engineer and AI enthusiast from Sri Lanka who turns ideas into intelligent, real-world solutions. With over 9 years of hands-on experience, I currently lead real estate ERP development at Kate Group, a...

03.My Projects

04. Categories

Ready To Start Your Project ?

Get in Touch
Close