From the course: Polyglot Web Development

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Understanding Node.js

Understanding Node.js

From the course: Polyglot Web Development

Start my 1-month free trial

Understanding Node.js

- I'm going to start with Node, it's the first language. Node has many characteristics that make it a great choice for a web application like the one we're making. One of the great features of Node is non-blocking IO. Node is event driven, and asynchronous by nature. Interactions with external services can fired off with the rest of the program continuing un-hindered. When the command returns, the callback is executed. While asynchronous programming is nothing new, historically this kind of programming required the implementation of threads or at least the use of a library to implement threading. Node is designed around this type of interaction. And the methods for adding asynchronous interactions are seamless and straight forward. Although JavaScript is generally considered only as a browser client side library, it's an extremely powerful piece of the Node.js platform. Being built on JS means that, of course, the HTTP libraries which are available are strong and well tested. Modeling…

Contents