Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My javascript
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

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
  • 107
  • 53
  • 8

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
  • 69
  • 136
  • 4

If Programming Languages Were People at a Party

If Programming Languages Were People at a Party

Blog Summary

PHP is feeding everyone in the kitchen, JavaScript is in every room at once and SQL is in the corner, older than the house. A light look at the guests, and how I actually pick a language.

Read more
  • 60
  • 133
  • 19

Five React Mistakes in Forms and State That Cause the Weirdest Bugs

Five React Mistakes in Forms and State That Cause the Weirdest Bugs

Blog Summary

Deleting one row clears another. A timer stops at 1. An input warns it went from uncontrolled to controlled. Five common React form and state mistakes, why each happens, and the small fix for each.

Read more
  • 32
  • 95
  • 12

TypeScript for PHP Developers: The Parts That Actually Matter

TypeScript for PHP Developers: The Parts That Actually Matter

Blog Summary

PHP checks your types while the code runs. TypeScript checks them before it runs, then throws them away. That one difference explains almost everything a PHP developer needs to know about TypeScript.

Read more
  • 138
  • 105
  • 18

How the Browser Turns HTML Into Pixels (and Why Your Page Still Feels Slow)

How the Browser Turns HTML Into Pixels (and Why Your Page Still Feels Slow)

Blog Summary

Your API answered fast, but the page still stutters. Walk the browser's rendering pipeline from DOM and CSSOM to layout, paint and composite, and learn which changes make it do expensive work.

Read more
  • 105
  • 100
  • 19

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