Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My Last 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 home
Filter by:
Tags
//Article

The Five Stages of Debugging (and the Method That Skips Most of Them)

The Five Stages of Debugging (and the Method That Skips Most of Them)

Blog Summary

Denial, blame, bargaining, despair, and finally the one-character fix. Every developer has lived the stages of debugging. Here's a tour of them, followed by a calm method that gets you to acceptance much faster.

Read more
  • 112
  • 45
  • 16

Laravel Testing With Fakes: Mail, Queue, Http, Storage and Notifications

Laravel Testing With Fakes: Mail, Queue, Http, Storage and Notifications

Blog Summary

Your test suite shouldn't send real emails, hit a real payment API or fill a real S3 bucket. Laravel's fakes swap all of that out in one line. Here's how each one works, and the gotchas that make tests pass for the wrong reason.

Read more
  • 120
  • 52
  • 8

Uptime and Error Monitoring for Small Teams: A Setup You Can Finish This Week

Uptime and Error Monitoring for Small Teams: A Setup You Can Finish This Week

Blog Summary

Small teams need monitoring more than big ones, because nobody else is watching. Five layers you can build in a week: honest health checks, outside uptime checks, error tracking, heartbeats, and alerts that reach a person.

Read more
  • 13
  • 68
  • 14

How a Hash Map Works (and Why Your PHP Array Is Secretly One)

How a Hash Map Works (and Why Your PHP Array Is Secretly One)

Blog Summary

Finding one item among millions without searching sounds like cheating. It's a hash map. Buckets, hash functions, collisions, why lookups are O(1) on average, a 2011 security scare, and what it means for PHP arrays.

Read more
  • 144
  • 39
  • 23

Writing Readable React Components: Six Habits, One Messy Example

Writing Readable React Components: Six Habits, One Messy Example

Blog Summary

Every React codebase has that 400-line component with props called data, flag and cb. Let's refactor one, habit by habit: better names, derived state, custom hooks, smaller components and less prop drilling.

Read more
  • 93
  • 26
  • 25

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
  • 74
  • 51
  • 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