Nodejs – Dependency Management

Introduction An Important concept, in Node.js is that you want to know the way dependency management is handled. This dependency management is the part of core Node.js experience. In this post, we will learn various pattern of dependency management and how Nodejs load dependencies. So, we could write our application using a single js file … Read more

Dare mighty things – ASCII

Introduction NASA’s Perseverance Mars Rover landing was a historic moment. First time, we saw those moments of a rover landing on the Mars. That event was huge for many people watching this on their screens and it will inspire us for years. Every single image we saw after this landing contains a new surprise and … Read more

Use NGINX to Serve .NET Core, Nodejs or Static contents

Introduction NGINX is a high-performance HTTP server as well as a reverse proxy. Unlike traditional servers, NGINX follows an event-driven, asynchronous architecture. As a result, the memory footprint is low and performance is high. If you’re running a Node.js-based web app, or .NET Core Web Application, you should seriously consider using NGINX as a reverse … Read more

Observer Pattern using JavaScript

Introduction Observer pattern is simply a publish/subscribe relationship. Like a person of interest we have an object of interest which we call subject or publisher and then we have interested parties and these parties are called observers or subscribers. Subject have something to say and observers are there interested in that saying. When we arrange our code … Read more

Getting Started with Docker and Containerize your Applications (Book)

Docker is changing how we distribute and install software and it is a very popular tool in many areas of software development as well. You don’t have to wait to use docker until you roll it out to your production environment. You can start with it straight away in your development workflow. I am using … Read more

ElasticSearch with Node.js

Introduction Working with documents in software is fun. It means that storage fit your code not the other way around. This removes the object relational impedance mismatch between how you model your application and how you store those models. Even if you do not have immediate use of documents, learning how to use documents will … Read more

TCP with Node

Introduction Everyone who has any knowledge of the internet is well-aware of the Transport Control Protocol (TCP). Robert Kahn and Vinton Cerf invented TCP in the 1970s for satellite communications. In their work building a satellite communications network, they realized the need for a hardware-independent mechanism to move data from one computer to another. All prior work … Read more

Working with Timers – Node.js

Timers are polyglot. They are very useful in many use cases. Almost all major programming languages supports them and Node.js is no exception. Its actually more simple in Node because Node.js let us reuse our existing learning of timers. In this post, I will describe and demonstrate what they are, how to use them, whats … Read more

IBM BlueMix – Cognitive Computing using Node-Red Flows

If you’re doing it right, life is a process of continuous learning. If you’ve learned something today that you didn’t know when you got out of bed this morning, you’ve had a good day – no matter what else happened. Today I learned a little more about IBM Cloud offerings – more than I knew … Read more