Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

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

What Is an API Gateway, and When Do You Actually Need One?

What Is an API Gateway, and When Do You Actually Need One?

Blog Summary

An API gateway is the front door for your APIs: routing, auth at the edge, rate limits and aggregation. It's great for many services and pure overhead for one. Here's how to tell which side you're on.

Read more
  • 47
  • 131
  • 14

Pagination Done Right: Offset vs Cursor, and Why Page 40,000 Is So Slow

Pagination Done Right: Offset vs Cursor, and Why Page 40,000 Is So Slow

Blog Summary

Page 1 is instant, page 40,000 takes forever, and infinite scroll shows duplicates. Here's how OFFSET really works, why cursor pagination stays fast, and when to use paginate, simplePaginate or cursorPaginate in Laravel.

Read more
  • 80
  • 143
  • 20

Laravel API Resources: Shaping JSON Responses the Right Way

Laravel API Resources: Shaping JSON Responses the Right Way

Blog Summary

Returning a model straight from a controller turns your database schema into your public API. Build a Laravel API resource step by step: whenLoaded, conditional fields, pagination meta and the gotchas.

Read more
  • 135
  • 29
  • 19

Webhooks: How They Work and How to Make Them Reliable

Webhooks: How They Work and How to Make Them Reliable

Blog Summary

A webhook endpoint takes ten minutes to write and months to get right. How webhooks work, and five rules for reliable ones: HMAC signatures, fast responses, duplicates, out-of-order events and visible failures.

Read more
  • 78
  • 124
  • 8

CORS Explained: Why the Browser Blocks Your API Call (and Postman Doesn't)

CORS Explained: Why the Browser Blocks Your API Call (and Postman Doesn't)

Blog Summary

The request works in Postman, works with curl, and fails in the browser with a scary red error. CORS isn't your server refusing the call. Here's what the browser is really doing, and how to fix it properly in Laravel.

Read more
  • 134
  • 149
  • 19

REST vs GraphQL: An Honest Comparison From a Laravel Developer

REST vs GraphQL: An Honest Comparison From a Laravel Developer

Blog Summary

GraphQL fixes over-fetching and under-fetching, then hands you caching headaches and N+1 queries in resolvers. Here's an honest look at both, from someone who ships Laravel APIs, and when plain REST is enough.

Read more
  • 103
  • 112
  • 22

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