Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

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

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
  • 91
  • 120
  • 18

Laravel Pint, PHPStan and Rector: Automatic Code Quality Without the Arguments

Laravel Pint, PHPStan and Rector: Automatic Code Quality Without the Arguments

Blog Summary

Too much code review goes on missing spaces, unused imports and possible nulls. Pint, PHPStan with Larastan and Rector catch all of that automatically. Here's the setup, the baseline trick and the CI job.

Read more
  • 71
  • 149
  • 5

A Clean Project Structure for TypeScript and Node.js API Services

A Clean Project Structure for TypeScript and Node.js API Services

Blog Summary

Node gives you no folder structure, so every API ends up shaped differently. Here's a simple layout that scales: routes, services and repositories, validated config, typed errors, Jest tests that don't need a server, and a lean Dockerfile.

Read more
  • 89
  • 93
  • 12

Building a REST API in Laravel 12 With OpenAPI Docs That Stay Accurate

Building a REST API in Laravel 12 With OpenAPI Docs That Stay Accurate

Blog Summary

An API without docs gets used wrongly; an API with outdated docs is worse. Here's a step-by-step Laravel 12 REST API with routes, Form Requests and Resources, plus two ways to generate OpenAPI docs that keep up with the code.

Read more
  • 51
  • 88
  • 4

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
  • 117
  • 62
  • 20

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
  • 133
  • 139
  • 13

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