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

Node.js – Working with Web Servers and Web Frameworks

Welcome to the future. Life is good, but it can be better. And why shouldn’t it be? All you need is to want it. Think about finally having everything you always wanted. Max Lord (Wonder Woman 1984) I won’t say that I thought of Node.js when I first hear Max Lord saying those words in … Read more

Socket.io with Node.js

Socket.io is an open-source JavaScript framework which is available as a Node package. It is based on WebSockets technology. Socket.io enables real-time, bi-directional, event based communication. JSON format is used for data communication Features Reliability: Socket.io is designed to work on every platform whether it is mobile or desktop. Speed: It is fast. Simple API: … Read more

Cypress – Fast, easy and reliable testing for anything that runs in a browser.

The web has evolved. Finally, testing has too. They really meant it. I was looking for a simple, easy to use and initiative end-to-end testing framework for one of our web application. I tried out cypress for the first time and found myself productive within about 10 mins. Before we go deep into the details … Read more

JavaScript Module System

Separate and Abstract code in its own scope, making it accessible and included again! That’s the thing which JavaScript module systems help us to achieve. JavaScript applications tend to grow fast and without any kind of structure in-place, it would be very hard to keep a cleaner code-base. Traditionally different techniques like IIFE, Revealing Module … Read more