What makes Node.js different then other Server side languages?
Traditional server language environments are built to do actions right away and as much as that was useful in the earlier days of the web , now days as servers are demanded to do more and more they often need a large amount of time to process a request. In traditional web development environments that would mean that the server would hang and response would then block all interactions with it until it completes the task. Contrary to that the node.js approach is to always assume the server is going to update the client when things are done without the client and server waiting for each other. This is done using callbacks.
- Server doesn’t hang or wait
- Based on callbacks.
- When something is ready it is sent over.
properties: speed, callbacks, avoiding hanging