| by Gagandeep Singh | No comments

Understanding Middleware in ExpressJS

Thing missing in NodeJS NodeJS is used for writing JavaScript which executes at the server. At client side browser is responsible for handling the JavaScript. So, whenever we use pure NodeJS for creating backend applications our app contain a single function for each incoming request which is responsible for doing all the processing based on […]

Read More
| by Gagandeep Singh | No comments

Don’t need to restart your Node server again and again?

While doing development on any NodeJS application, whenever we make any change to some file we need to restart our Node server from the command prompt/terminal. This is a repetitive process since we make hundred of changes and restart server every time to check the change. Solution to this issue is using a tool called […]

Read More
| by Gagandeep Singh | No comments

ExpressJS installation and basic routing

Before beginning with ExpressJS make sure you have nodejs installed on you machine. What is ExpressJS? ExpressJS is a NodeJS framework for creating server side applications. ExpressJS provides many shorthand methods for writing the functionality provided by NodeJS. Installing ExpressJS Step 1 : Goto your application directory Step 2 : Initialize your node project (create […]

Read More
| by Gagandeep Singh | No comments

Inspirational Jack Ma Quotes

Never ever compete on prices, instead compete on services and innovation. Help young people. Help small guys. Because small guys will be big. Young people will have the seeds you bury in their minds, and when they grow up, they will change the world. If you don’t give up, you still have a chance. Giving […]

Read More
| by Gagandeep Singh | No comments

How to scroll one pixel from where you are on screen using jQuery

Recently I came across a scenario where on click of select all checkbox on Internet Explorer 11 all the other checkboxes were not updating visually. After doing some research I found that all the other checkboxes updated as soon as the page was scrolled up/down using the scrollbar, mouse wheel or the keyboard keys. So […]

Read More