2. What is NodeJS?
• Event Driven platform for JavaScript
• First released in 2009
• Good for real-time interaction with a website
– Chat applications
– Location tracking
• Bad for CPU intensive tasks
– Predicting the weather
5. Threads and Scheduling
• Smallest sequence of executable code
• Run multiple threads together via
multithreading
• Threads block
• Threads are managed by a Scheduler
8. How to Code
• Change to only asynchronous programming
Taken from: Matt Perpick, “Writing Asynchronous JavaScript 101”
9. When to Node
• IO heavy applications
• NOT CPU heavy applications
10. NPM
• Node Package Manager
• Actually stands for “npm is not an acronym”
• Install dependencies
• Install NodeJS applications
• Package and distribute your code