You Are Browsing ‘Java Script’ Category

Node.js is a platform built on Chrome’s JavaScript run time for easily building scalable, fast network applications. Node.js uses an non-blocking, event-driven I/O model that makes it efficient and lightweight, perfect for data-intensive real-time applications that run across distributed devices. AN EXAMPLE: WEBSERVER This simple web server written in Node responds with “Hello Node” for every request. var http = require(‘http’); http.createServer(function (req, res) { res.writeHead(200, {‘Content-Type’:...