Node.js and event driven programming - digitalideation/studio_webmobile2_2021 GitHub Wiki

Node.js is a back-end JavaScript runtime environment. It runs JavaScript outside of the browser. In this class, we use it to program our backend-server. As such, it is an alternative to platforms using PHP, Java or C# that you might already know. Node.js uses the V8 JavaScript engine, which is also used in the Chrome browser. Node.js uses an event-driven architecture with asynchronous I/O which is well suited for real-time applications, for example ones that use WebSockets.

Your tasks

  • Learn about the event loop by either reading the article or watching the video below.
  • If you are new to Node.js, use the guide below to learn about and get comfortable with Node.js. You can come back to this guide whenever you need to in your project.

Required reading / watching (choose one)

Resources