Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My database
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
  • 100
  • 75
  • 15

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
  • 22
  • 88
  • 21

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
  • 116
  • 128
  • 11

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
  • 94
  • 140
  • 8

Eloquent Relationships You Might Be Underusing (and the Queries They Replace)

Eloquent Relationships You Might Be Underusing (and the Queries They Replace)

Blog Summary

Most Laravel apps use hasMany and belongsTo, then hand-write everything else. hasManyThrough, latestOfMany, withSum, whereRelation and morphs can replace pluck-and-loop code with cleaner, faster queries.

Read more
  • 26
  • 144
  • 16

Database Normalization Explained With a Real Example: Tenants, Units and Contracts

Database Normalization Explained With a Real Example: Tenants, Units and Contracts

Blog Summary

Every messy database starts as a spreadsheet. Take a tenancy contracts sheet through 1NF, 2NF and 3NF step by step, see the anomalies each form removes, and learn when denormalizing on purpose is the right call.

Read more
  • 146
  • 143
  • 12

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