Featured
-
Top 10 Template Engines for JavaScript
What is a Template engine? Template Engines are
by nishant.mishra -
jQuery Accordion
Hello readers! In this Blog we will gain knowled
by vishwanath.rana -
How to make Numbered and bulleted list in HTML Editor with JavaScript
Hello all, Working with HTML Editor we wanted t
by gaurav.gautam -
How to hide particular div with just one click?
Hi, you want a condition in which the particula
by abhishek.tiwari.458 -
How to Create and Retrieve Array in Javascript?
If you want to store multiple values in a single v
by siddharth.shahi
Tags
Node.js: How to install Node.js on Ubuntu 14.04
This blog will help you to understand how to install node.js
Install Node.js
First update the apt-get package lists with this command:
$ sudo apt-get update
Now install the git package using apt-get
$ sudo ...
Event Loop in node.js?
As we know that , Node js is a single threaded application but it also support concurrency based on concept of event and callbacks.
Every api that we are doing using node.js are asynchronous and single thread,node js uses asynchronous fu...
error-first callback in node.js?
If user pass errors and data then we use Error-first callbacks .There are two argument in callbacks. first argument is always an error object which is for to check if something went wrong. and we use additional argument along with this paramete...
Middleware in Express JS
Middleware is the core idea of Express.js used behind processing the request and routing. By seeing how middleware functions, you can make more maintainble applications with less code. The minute a solicitation is gotten by an Express.js applicat...
Using MySQL with node.js
Hello Everyone , In this blog we will discuss about how to use MYSQL in node.js.
node-mysql is one of the best modules which can be used for working with MySQL database.
To install the MySQL in node.js driver you have to follow up with the be...
How to install Express.js in Ubuntu
Express.js is a framework that is use in the Node.js. It is having the Jade file which is similar to HTML file.
To install Express first we have to include the express version in Package.json file.
Inside Package.js
{
"name": "pong",
...
How to establish connection using Socket and Node.js
Hello Readers,
The most important thing to use Node and Socket is to make connection. For this we should have two files one is Client.js(i.e. Client Side Javascript file) and other is Server.js(Server side javascript file).
Under Client.js ...
How to install Node, NPM and others Node Module in Ubuntu
Node.js is a Javascript platform for server-side programming that allows users to build network applications quickly.
In order to get this version, we just have to use the apt package manager.
sudo apt-get install nodejs
We need to ins...
Package.json file in Node.js
Hello Readers,
To run the applications based on Node.js we need a "Package.json" file in the root directory. Package.json file tells the dependencies requires in the project. Without this file you cannot run the project.
{ "name" : "pong"...
How to create a server in Node.js
Hello Readers.
Node.js is very popular in market in creating of real time applications.Here's the example of how we can create the server in our local system to run the Node.js applications.
var http = require('http')
, static = re...