Intro to Node.js
If you've read anything about web development in the past couple years, you've certainly heard a lot about Node.js. But why all the hype? It seems clear at this point that Node is more than a fad, so why are so many developers excited about Node?
• Global variables and scope across modules
• Asynchronous and synchronous functions
• Custom events and event handlers
• Child processes
It's no accident that Node became so popular. So many people are talking about Node because it's an excellent solution for building many modern web apps. Node is a great fit for apps with heavy input / output (I/O) and light computation. That means you should use Node if your app relies on heavy communication between the server and client, but doesn't need to do anything too complex on the server-side.
Using Node with Real-Time Apps
You've probably heard about Node in relation to “real-time” apps, such as collaborative document editors. That's because these types ...