Skip to main content
Madhukar
Back to Home

My writings & engineering articles

Technical Articles

Deep dives into Web Development, React internals, Next.js, TypeScript, Networking, and Systems Engineering. Published live from Medium.

Showing 58 of 58 articles
Creating Routes and Handling Requests with Express
Node.JsExpress.JsWeb Development6 min read

Creating Routes and Handling Requests with Express

What Express.js Is Express.js is a lightweight framework built on top of Node.js’s built-in http module, giving developers a much simpler, cleaner way to build web servers — defini...

Sep 4, 2026Read Article
What is Node.js? JavaScript on the Server Explained
BackendWeb DevelopmentBeginner6 min read

What is Node.js? JavaScript on the Server Explained

A JavaScript runtime is not the same thing as the JavaScript language JavaScript, as a language, is just a set of rules — syntax, logic, how variables and functions work. On its ow...

Sep 3, 2026Read Article
Design Patterns in Java: Why Do We Need Them?
JavaSoftware EngineeringSystem Design11 min read

Design Patterns in Java: Why Do We Need Them?

The software-design problem patterns try to solve Imagine two different teams, at two different companies, both building a system that needs to create objects based on some conditi...

Sep 3, 2026Read Article
Spring and Spring Boot: From IoC to Production-Ready REST APIs
Spring BootRest ApiBackend12 min read

Spring and Spring Boot: From IoC to Production-Ready REST APIs

From Spring to a real Java backend application Java backend development runs on Spring more than almost any other framework — and Spring Boot is the reason most developers actually...

Sep 3, 2026Read Article
How DNS Resolution Works: Tracing google.com with dig
DnsSystem DesignComputer Science6 min read

How DNS Resolution Works: Tracing google.com with dig

DNS is the internet’s phonebook — but how does the lookup actually happen? You already know DNS translates a domain name into an IP address, the way a phonebook translates a name i...

Aug 31, 2026Read Article
How a Browser Works: A Beginner-Friendly Guide to Browser Internals
BrowsersCssWeb Development9 min read

How a Browser Works: A Beginner-Friendly Guide to Browser Internals

What happens after I type a URL and press Enter? You type a web address, press Enter, and a fraction of a second later, a fully formed page appears — text in place, images loaded, ...

Aug 31, 2026Read Article
JavaScript Promises Explained for Beginners
Async JSProgrammingWeb Development5 min read

JavaScript Promises Explained for Beginners

A promise is a value that isn’t ready yet You order food delivery. The app doesn’t hand you the food instantly — it hands you a tracking status : your order is being prepared, it’s...

Aug 30, 2026Read Article
JavaScript Arrays 101
ProgrammingCodingJavaScript6 min read

JavaScript Arrays 101

Storing values individually vs using an array Imagine tracking five favorite movies using separate variables: const movie1 = "Inception"; const movie2 = "Interstella...

Aug 30, 2026Read Article
Understanding HTML Tags and Elements
BeginnerHtmlFrontend6 min read

Understanding HTML Tags and Elements

HTML is the skeleton of a webpage Every webpage you’ve ever visited has a skeleton holding it together — a structure defining what’s a heading, what’s a paragraph, what’s a button,...

Aug 24, 2026Read Article
What is Middleware in Express and How It Works
Node.JsBackendExpress.Js6 min read

What is Middleware in Express and How It Works

A checkpoint between request and response Every request that hits an Express server doesn’t go straight from “arrived” to “answered.” In between, it can pass through a series of ch...

Aug 21, 2026Read Article
Blocking vs Non-Blocking Code in Node.js
JavaScriptNode.JsBackend6 min read

Blocking vs Non-Blocking Code in Node.js

Waiting vs continuing — one line, two very different outcomes Imagine a single cashier at a small shop. A blocking cashier serves one customer completely — ringing up every item, h...

Aug 20, 2026Read Article
Inside Git: How It Works and the Role of the .git Folder
GitSoftware EngineeringVersion Control6 min read

Inside Git: How It Works and the Role of the .git Folder

Beyond the commands: a mental model of Git Most developers learn Git as a set of commands to memorize: git add, git commit, git push. That gets you productive quickly — but it also...

Aug 16, 2026Read Article
Why Version Control Exists: The Pendrive Problem
Software EngineeringGitVersion Control6 min read

Why Version Control Exists: The Pendrive Problem

project_final_v2_ACTUALLY_FINAL.zip If you’ve ever seen a folder full of files named final, final_v2, final_final, and — somehow, inevitably — final_final_ACTUALLY_final, you alrea...

Aug 16, 2026Read Article
Map and Set in JavaScript
ProgrammingEs6JavaScript5 min read

Map and Set in JavaScript

Problems with traditional objects and arrays Objects and arrays cover most everyday needs — but they each have quiet limitations that eventually surface in real code. Object keys a...

Aug 15, 2026Read Article
Function Declaration vs Function Expression: What’s the Difference?
ProgrammingCodingWeb Development6 min read

Function Declaration vs Function Expression: What’s the Difference?

What Functions Are and Why We Need Them A function is a reusable block of code — write the logic once, and run it as many times as needed, with different inputs, instead of repeati...

Aug 15, 2026Read Article
The Magic of this, call(), apply(), and bind() in JavaScript
Interview PrepProgrammingJavaScript7 min read

The Magic of this, call(), apply(), and bind() in JavaScript

this = whoever is calling the function, right now this is one of the most confusing words in JavaScript — not because the concept is complicated, but because its value changes depe...

Aug 14, 2026Read Article
REST API Design Made Simple with Express.js
Node.JsExpress.JsBackend6 min read

REST API Design Made Simple with Express.js

APIs are just structured conversation between client and server Every time an app loads your profile, saves a new post, or deletes an item from your cart, it’s having a conversatio...

Aug 13, 2026Read Article
Understanding Network Devices: Modem, Router, Switch, Firewall, and Load Balancer
DevopsSystem DesignNetworking8 min read

Understanding Network Devices: Modem, Router, Switch, Firewall, and Load Balancer

How does the internet actually reach your home or office? Every request you send — loading a webpage, calling an API, streaming a video — travels through a small chain of physical ...

Aug 13, 2026Read Article
Synchronous vs Asynchronous JavaScript
BeginnerJavaScriptAsync JS7 min read

Synchronous vs Asynchronous JavaScript

Waiting for data, in everyday life Imagine ordering food at a restaurant. A synchronous waiter takes your order, then stands frozen at your table, doing absolutely nothing else, un...

Aug 11, 2026Read Article
Understanding Object-Oriented Programming in JavaScript
BeginnerProgrammingOOP7 min read

Understanding Object-Oriented Programming in JavaScript

From blueprint to car A car manufacturer doesn’t design a brand-new car from scratch every single time one rolls off the factory line. There’s one blueprint — the design, the speci...

Aug 11, 2026Read Article
TCP Working: 3-Way Handshake & Reliable Communication
NetworkingComputer ScienceTcp5 min read

TCP Working: 3-Way Handshake & Reliable Communication

SYN, SYN-ACK, ACK, step by step — how TCP turns an unreliable network into something you can trust.

Aug 10, 2026Read Article
Async/Await in JavaScript: Writing Cleaner Asynchronous Code
JavaScriptAsynchronous ProgrammingNode.Js8 min read

Async/Await in JavaScript: Writing Cleaner Asynchronous Code

Same promises underneath, read top to bottom — how async/await turns chains into plain, linear code.

Aug 10, 2026Read Article
Error Handling in JavaScript: Try, Catch, Finally
JavascriptError HandlingProgramming6 min read

Error Handling in JavaScript: Try, Catch, Finally

The difference between an app that crashes and one that fails gracefully — try, catch, finally, explained.

Aug 8, 2026Read Article
Spread vs Rest Operators in JavaScript
JavascriptEs6Web Development6 min read

Spread vs Rest Operators in JavaScript

Same three dots, opposite jobs — spread expands a collection, rest gathers values back into one.

Aug 8, 2026Read Article
Understanding Objects in JavaScript
JavascriptBeginnerProgramming7 min read

Understanding Objects in JavaScript

Key-value pairs, dot vs bracket notation, and how objects differ from arrays — with a hands-on practice set.

Aug 7, 2026Read Article
Setting Up Your First Node.js Application Step-by-Step
Node.JsBackendJavaScript5 min read

Setting Up Your First Node.js Application Step-by-Step

From node -v to a running server — install, REPL, your first script, and Hello World, one step at a time.

Aug 7, 2026Read Article
How Node.js Handles Multiple Requests with a Single Thread
Node.JsBackendArchitecture5 min read

How Node.js Handles Multiple Requests with a Single Thread

One chef, a packed restaurant, no confusion — concurrency, the event loop, and why it scales so well.

Aug 6, 2026Read Article
Control Flow in JavaScript: If, Else, and Switch Explained
JavaScriptBeginnerProgramming5 min read

Control Flow in JavaScript: If, Else, and Switch Explained

Everyday decisions, in code — if, else-if ladders, switch, break, and when to reach for which one.

Aug 6, 2026Read Article
The new Keyword in JavaScript: Constructors, Objects, and Prototypes
JavaScriptOopPrototypes5 min read

The new Keyword in JavaScript: Constructors, Objects, and Prototypes

new Car('Tesla') looks like one step — it's actually four. Here's exactly what happens, in order.

Aug 5, 2026Read Article
Git for Beginners: Basics and Essential Commands
GitVersion ControlSoftware Engineering5 min read

Git for Beginners: Basics and Essential Commands

Repositories, commits, and branches explained simply — plus the essential commands for a real Git workflow.

Aug 5, 2026Read Article
Callbacks in JavaScript: Why They Exist
JavaScriptAsyncCallbacks5 min read

Callbacks in JavaScript: Why They Exist

Functions as values — the idea everything else builds on.

Aug 3, 2026Read Article
URL Parameters vs Query Strings in Express.js
Express.JsNode.JsBackend5 min read

URL Parameters vs Query Strings in Express.js

The same URL, two very different jobs: req.params for identifying resources vs req.query for filtering & sorting.

Aug 3, 2026Read Article
Getting Started with cURL: Talking to Servers From Your Terminal
NetworkingDevopsTerminal5 min read

Getting Started with cURL: Talking to Servers From Your Terminal

Send your first request, read the response, and avoid the mistakes every beginner makes with GET and POST.

Jul 31, 2026Read Article
Arrow Functions in JavaScript: A Simpler Way to Write Functions
JavaScriptEs6Frontend5 min read

Arrow Functions in JavaScript: A Simpler Way to Write Functions

Same functions you already know, with less typing — syntax, implicit return, and lexical this binding.

Jul 31, 2026Read Article
Template Literals in JavaScript: A Readable Way to Build Strings
JavaScriptEs6Web Development5 min read

Template Literals in JavaScript: A Readable Way to Build Strings

Why scattered quotes and plus signs make strings hard to read, and how backticks and ${} fix it cleanly.

Jul 30, 2026Read Article
Array Flatten in JavaScript: Concepts, Approaches, and Interview Scenarios
Interview PrepJavaScriptData Structures5 min read

Array Flatten in JavaScript: Concepts, Approaches, and Interview Scenarios

Nested arrays, the recursive logic behind flattening, four ways to build it, and the interview variations to expect.

Jul 30, 2026Read Article
Array Methods You Must Know: push, pop, map, filter, reduce, forEach
JavascriptArraysWeb Development7 min read

Array Methods You Must Know: push, pop, map, filter, reduce, forEach

Before-and-after examples for the six array methods you'll use constantly, plus a hands-on practice exercise.

Jul 29, 2026Read Article
JavaScript Modules: Import and Export Explained
JavaScriptEs6Modules5 min read

JavaScript Modules: Import and Export Explained

Why every file sharing one global scope breaks down at scale, and how export/import fixes it cleanly.

Jul 29, 2026Read Article
Async Code in Node.js: Callbacks and Promises
Node.JsAsyncPromises5 min read

Async Code in Node.js: Callbacks and Promises

Why a single-threaded server needs async code, how callback hell happens, and how promises flatten it out.

Jul 28, 2026Read Article
Storing Uploaded Files and Serving Them in Express
Express.JsNode.JsMulter5 min read

Storing Uploaded Files and Serving Them in Express

Where uploads should live, local vs external storage, and how to serve them safely by URL in Express.

Jul 28, 2026Read Article
Sessions vs JWT vs Cookies: Understanding Authentication Approaches
AuthenticationSecurityJwt5 min read

Sessions vs JWT vs Cookies: Understanding Authentication Approaches

Cookies are just the delivery truck — sessions and JWT are two different answers to what's inside.

Jul 25, 2026Read Article
String Polyfills and Common Interview Methods in JavaScript
Interview PrepJavaScriptPolyfills5 min read

String Polyfills and Common Interview Methods in JavaScript

Build your own trim, reverse, and includes from scratch — and the classic string problems interviews love.

Jul 25, 2026Read Article
DNS Record Types Explained: NS, A, AAAA, CNAME, MX, and TXT
Web DevelopmentNetworkingDns6 min read

DNS Record Types Explained: NS, A, AAAA, CNAME, MX, and TXT

A clear guide explaining how DNS translates domain names to IP addresses, and how each DNS record type works with real-world analogies.

Jul 24, 2026Read Article
TCP vs UDP: When to Use What, and How TCP Relates to HTTP
Computer ScienceNetworkingBackend7 min read

TCP vs UDP: When to Use What, and How TCP Relates to HTTP

Demystifying transport layer protocols: TCP reliability vs UDP speed, and how HTTP relies on TCP to transfer web data.

Jul 24, 2026Read Article
Mastering TypeScript: Interfaces, Generics, Unions Explained
Web DevelopmentTypescriptSoftware Engineering13 min read

Mastering TypeScript: Interfaces, Generics, Unions Explained

If JavaScript already works, why TypeScript — and how interfaces, unions, and generics actually make code safer.

Jul 22, 2026Read Article
React Hooks Masterclass: useState, useEffect, and Custom Hooks
FrontendReactJavaScript7 min read

React Hooks Masterclass: useState, useEffect, and Custom Hooks

Understand how React remembers state across renders, side-effect synchronization with useEffect, and building reusable custom hooks.

Jul 22, 2026Read Article
How React Works Internally: Virtual DOM, Reconciliation, and Rendering
ReactFrontendVirtual Dom9 min read

How React Works Internally: Virtual DOM, Reconciliation, and Rendering

A deep dive into React internals: Fiber architecture, Virtual DOM diffing, reconciliation, and how state updates trigger UI renders.

Jul 21, 2026Read Article
Realtime Systems: Polling, WebSockets, SSE, and Pub/Sub
Fullstack DevelopmentWebSocketsBackend8 min read

Realtime Systems: Polling, WebSockets, SSE, and Pub/Sub

Comparing communication patterns for realtime web applications: short/long polling, WebSockets, Server-Sent Events, and Pub/Sub architecture.

Jul 21, 2026Read Article
Modern Next.js: Routing, Layouts, Server Components, API Routes & Server Actions
JavaScriptReactWeb Development10 min read

Modern Next.js: Routing, Layouts, Server Components, API Routes & Server Actions

Mastering the Next.js App Router: nested layouts, Server vs Client components, API routes, and full-stack Server Actions.

Jul 20, 2026Read Article
Next.js Explained: Why It Became the Default React Framework
ReactPerformanceJavaScript7 min read

Next.js Explained: Why It Became the Default React Framework

Exploring SSR, SSG, ISR, and automatic optimization features that make Next.js the leading framework for production React apps.

Jul 20, 2026Read Article
React Fundamentals: Components, JSX, State, and Re-rendering
BeginnerJavaScriptFrontend8 min read

React Fundamentals: Components, JSX, State, and Re-rendering

The essential building blocks of React: component architecture, JSX syntax under the hood, state management, and component lifecycles.

Jul 18, 2026Read Article
State Management in React: Prop Drilling, Context API, React.memo, useMemo, and useCallback
PerformanceFrontendWeb Development9 min read

State Management in React: Prop Drilling, Context API, React.memo, useMemo, and useCallback

Solving state complexity in React apps: avoiding prop drilling with Context API and optimizing performance with memoization hooks.

Jul 18, 2026Read Article
Kafka Explained Like You’re 5: Events, Partitions, and Consumer Groups
System DesignKafkaDistributed Systems5 min read

Kafka Explained Like You’re 5: Events, Partitions, and Consumer Groups

How does a large application process millions of events every day? Distributed event streaming explained simply.

Jul 17, 2026Read Article
Building Scalable Systems: Caching, Rate Limiting and Observability
System DesignScalabilityRedis5 min read

Building Scalable Systems: Caching, Rate Limiting and Observability

What happens when your application suddenly gets 1 million users? Architectural patterns for high load.

Jul 17, 2026Read Article
Securing Apps: Password Hashing, RBAC, OAuth, and OpenID Connect
SecurityOauthBackend5 min read

Securing Apps: Password Hashing, RBAC, OAuth, and OpenID Connect

How does a website know who you are and what you are allowed to do? Modern authentication & authorization.

Jul 16, 2026Read Article
Prisma vs Drizzle: A Complete Guide to Databases, ORMs, and Choosing the Right Tool
ProgrammingWeb DevelopmentDatabase15 min read

Prisma vs Drizzle: A Complete Guide to Databases, ORMs, and Choosing the Right Tool

A practical, no-hype comparison of Prisma and Drizzle — plus everything you need to know about databases, ORMs, and migrations first.

Jul 16, 2026Read Article
Understanding Variables and Data Types in JavaScript
JavascriptBeginnerVariables4 min read

Understanding Variables and Data Types in JavaScript

What is a variable and why we need them

Mar 16, 2026Read Article
Linux File System Hunting — Complete Guide
LinuxDevOpsSystem Admin8 min read

Linux File System Hunting — Complete Guide

A comprehensive guide to understanding the Linux file system hierarchy, navigating directories, managing files and permissions.

Jun 15, 2025Read Article

Looking for more articles?

Read all 52+ articles directly on my Medium profile with full formatting & reader responses.

Read All Articles on Medium