Introduction to Node.js

Ramit Malhotra

ramit@ischool.berkeley.edu

School of Information, UC Berkeley

What is Node.js?

"Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices."

.... What does this mean?
A platform that makes writing powerful C/C++ server-side apps easy by essentially wrapping them in JavaScript.

But why Node.js?

Enter Node.js

Benefits

When to use Node.js?

When NOT to use Node.js?

Demos!

Resources