A short code-focused presentation of Node.js that takes about 20 minutes to present.
This presentation is for people who know how to program, but are new to Node.js. It's assumed that JavaScript is known, but if you know some other high-level language, you should be able to follow along. At the conclusion, you should have a feel for some of the capabilities of Node.js.
The presentation has the following sections:
- Hello World - the canonical "Hello World!" from the nodejs.org website.
- Convention - Error First - an explanation of the callback conventions around returning errors
- Convention - Callback Last - an explanation of the covention around placing the callback last.
- Nested Callback - dicussion around teh issue of nested callbacks and flow control.
- Streams - brief explanation of streams with an example of reading from a stream.
- Cluster - an explanation of cluster with an illustrative example.
- Sockets - examples of TCP and UDP sockets in use.
- Async Errors - An explanation of Node.js domains.
Additionally, you can view the slides in PDF.