Definition - What does
Node.js has several attributes that make it particularly attractive for network or over-the-Internet programming. The first has to do with all the overhead and packaging that existing technologies use to talk back and forth over the Internet.
Imagine you are shipping a small package by FedEx and you note all the "containers" your package travels in on its way to the destination. There would be a truck that carries all the packages to a local processing center. There would be large bins at this center that are forklifted over to the airplane shipping containers that are used to transport to the destination center. And once the package arrives, the reverse takes place with other packages going in the opposite direction.
All this packaging and repackaging is a laborious and expensive process and is exactly what the current programming technologies like JSON and REST do to move data over the Internet. Node.js cuts this repackaging down considerably and provides a lightweight means of accomplishing the same task.
The second Node.js attribute that is attractive has to do with the Web programming event model. Most existing technologies are written to take "big gulps" of data for every request and response. In other words, a whole page of data might be sent to a server - even if there are only smallish changes. These technologies are optimized to use larger chunks of data with fewer events. Node.js does the opposite; it is designed to work with more interactivity - smaller chunks of data responding to many more events.
Representational State Transfer (REST)
Node.js Home Page
- The authority on Node.js
- Another article explaining the where and whens of Node.js
Related White Papers
Introduction To Node.js
Application Programming Interfaces (APIs)
Recommended For You
Top 4 Most Devastating Twitter Feed Hacks
Connect with us
Techopedia on Linkedin
Follow us on LinkedIn
Techopedia on Twitter
Sign up for Techopedia's Free Newsletter!
History of Tech
Who To Follow
Buzzwords and Jargon
World Wide Web