Node.js programming for New York City
Node.js allows us to write and run Javascript code outside of web pages.
As with many fine non Microsoft programs and environments Node is FREE :>) and actually works :>) , and you can get it here ;and it also runs on Windows.
What's the use case? Where, when and why to use it is a good read by T. Capan
Node allows for real time two way connections, where the server and the client can send or receive. "It uses a non-blocking event driven I/O to remain lightweight and efficient."
"Compared to traditional web-serving techniques where each connection (request) spawns a new thread, taking up system RAM and eventually maxing-out at the amount of RAM available, Node.js operates on a single-thread, using non-blocking I/O calls, allowing it to support tens of thousands of concurrent connections held in the event loop."
|
---|
API's
"Although Node.js really shines with real-time applications, it’s quite a natural fit for exposing the data from object DBs (e.g. MongoDB). JSON stored data allow Node.js to function without the impedance mismatch and data conversion."