Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

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

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
  • 115
  • 131
  • 4

Containers vs Virtual Machines: What's Actually Different Under the Hood

Containers vs Virtual Machines: What's Actually Different Under the Hood

Blog Summary

"A container is just a lightweight VM" is the most common explanation, and it's wrong in the ways that matter. Here's how hypervisors and shared kernels really differ, what that means for isolation and speed, and when to use which.

Read more
  • 32
  • 15
  • 17

Docker Mistakes That Make Your Images Huge and Your Builds Slow

Docker Mistakes That Make Your Images Huge and Your Builds Slow

Blog Summary

You change one line and Docker reinstalls everything. Missing .dockerignore, bad layer order, dev tools in production, root users and latest tags are the usual culprits. Here's the fix, with a multi-stage build.

Read more
  • 125
  • 82
  • 24

Docker for PHP Developers: Images, Containers and Volumes Finally Explained

Docker for PHP Developers: Images, Containers and Volumes Finally Explained

Blog Summary

If you know PHP, you already understand Docker: an image is a class, a container is an object. Here's the mental model, a working Dockerfile and Compose file for Laravel with MySQL, and the mistakes everyone makes first.

Read more
  • 127
  • 23
  • 13

It Works on My Machine: A Field Guide to the Developer's Favourite Sentence

It Works on My Machine: A Field Guide to the Developer's Favourite Sentence

Blog Summary

It's the developer's favourite sentence because it's always true, and always useless. Meet the usual suspects behind it, from the Case-Sensitive Ghost to the Phantom .env, and how to banish them.

Read more
  • 94
  • 47
  • 16

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