Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
How Much Would it Cost for Node.js Web Application Development
Web application development has picked up the tremendous pace in recent years. In this area, there is a huge demand for Node.js web applications. Node.js is a solid part of the entire JavaScript ecosystem and the web development in entirety. Node...
How to Find JavaScript Leak in Node.Js
Memory leak is a situation when a computer program starts managing memory allocation incorrectly in a way that the resources or a memory which is not anymore in use and needed is not released. In this tutorial, we will learn "How to Find a J...
Why Node.js is Popular for Real Time Web Application Development - Core Reasons
In traditional web app users have no idea about server’s current state. But in real time web application (chat application, games) users are interact with server and other user in real time. Real time web applications need data to be shared...
Learn How to Export & Consume Modules in Node.js
What is node js module?
In node js module are JavaScript libraries, or set of functions you want include in your application. Also, each module can be placed in a separate.js file under separate folder. Node js module make your application mor...
Advantages & Disadvantages of Using Node JS
Before we get into the advantages and disadvantages of using Node JS, let me give you a brief idea about Node.js.
It is an open source, cross-platform runtime environment for developing server-side applications. Built on Chrome’s V8 Java...
How to setup node.js development environment on windows?
Node.js is a very interesting cross-platform, open source, a runtime environment for server-side and networking applications. It enables you to unleash the internal hacker within you and offers a chance to work and join hands with one of the lead...
Simple chat application in node.js
Today, I am going to show you, how to create a simple chat application in node js using a special model "socket.io". It simply transmits messages from one client to all others.
For this, I am going to create two files:-
1: main.js...
Node.js Promises
As we all know In node.js many times we will use asynchronous callback. There are n number of situation where we want to use nested callback where we want to use one callback result to another asynchronous callback. The best way to do that task i...
Environment Variables (Part 2)
In part 1 of this series we have seen how easily we can export environment variables to .bash_profile file with Linux "export" command and then using it with "process.env" . But this approach do have some drawbacks does not sc...
Authentication Using PassportJS in express node.js
PassportJS is a flexible Authentication middleware that allows users to login. PassportJS library is fully customizable and works well with ExpressJS.
It is flexible in the sense that it allows the user for different login strategies such as L...
What is javascript engine?
There are several different implementations of javascript engines by far the most popular engine is Google's V8( Which is not only limited to client side but also with the server side with NodeJS).
But what is actually does? It's actua...
Node.js Event loop
The event loop in Node.js works or runs in a single thread. That shows the application developer the code he/she will write that will be checked on a single thread. There are n number of threads which node js uses itself through libuv. But we don...
How to make an http POST request in node.js
I have a situation in which I have to make an post http request to another server and get the http request data(If it exist) and then on the basis of data do further calculation. I have to also put the check that if there is any delay on th...
Node js Events
As we all know Node.js is a single threaded application in which we will heavily use event and callback. Events modules allows you to emits and handle events. In node.js there are n number of in-built modules that has the ability to emit or broad...
Node.js I/O blocking and I/O non blocking.
As we all know Node.js is a single threaded application in which we will heavily use event and callback. But before starting event loop we should know about events and cost of I/O & non-blocking I/O.So starting with event driven programming.
...
Chapter 3: Authentication using node.js(passport.js) and mongoDb
As we all know authentication plays an important role in every site. Here In this blog I am explaining how we will authenticate our site in node.js as a backend and mongoDb as a database. To authenticate I am using passport.js which will help to ...
How to send data to another server in node.js
I have a situation in which I want to fetch data from another server. In node.js it is possible to send data to another server. For achieving this task we will use http module. To explain this I have written the code below .
Example:
...
Node.js: How to perform endless loop with async module?
I have a situation where I want to run an endless loop and I have to get data from there. For this, I have to make a Http call and then put the http response in a database, In each iteration, I have to wait for some second.
To solve this...