Category: MEAN STACK

There are several web application types you can work on with node.js. For example: I/O bound Applicationsa disk read/write or network read/write etcfor example, counting the number of lines in a file is likely to be I/O bound.(JavaScript – Reading Excel file using node.js! Solved!)Data Intensive Real-time Applications (DIRT)Real TIme Chat Apps or Chat Bots … Continue reading What kind of Web Applications you can develop using Node.js?→

Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code server-side. Node.js was originally written by Ryan Dahl in 2009. 10 important points about nodejs.js are as follows: 1. Open source Projects can be useful for programmers. You can learn by reading the source code and build something on top of the existing … Continue reading Node.js Series: 10 things you should know about node.js!→

Callbacks For JavaScript to know when an asynchronous operation has returned a response (the response could be an correct result or error response), it points to a function that will be executed once that result is ready. This function is what we call a “callback function”. In a simple way, a callback is a function that … Continue reading JavaScript: Converting a Callback to Promises→

This post will show you how can you access the data in your excel sheet(.xlsx) file from your node.js code. Suppose this is our excel sheet: Here we are using an existing npm package known as xlsx. xlsx is a parser and writer for various spreadsheet formats. Installation: With npm: $ npm install xlsx Usage in node.js The above code … Continue reading JavaScript – Reading Excel file using node.js! Solved!→

Node.js foundation has now opened an access to official certification for developers all around the world. Node.js has been said as the future of web development due to its features like non-blocking I/O and asynchronous functionality. Price: $300 Location: Remote, Online Retake: Allowed once Preparation: Material is included in the price. Average salary: $115K According to … Continue reading Official Node.js Certification: Price, Syllabus and popular online courses→

If you want to execute after set period of time, timers are used for that. Timers are globally available in node.js. Check official documentation here. Three types of timers are: setTimeout() setImmediate() setInterval(); setTimeout() - "When I say so!" used for scheduling execution of code after set of milliseconds. accepts set of arguments - first arg. … Continue reading How to use Timers in Node.js?→

Callback In the callback model you make a request and provide a function to be called when the request is completed. Which means one request and one reply. Also in the callback approach you won't receive any result until you receive all the results. Like shown in the example below, until it iterates over all … Continue reading Node.js: Callbacks v/s Events→