Book Image

NW.js Essentials

By : Alessandro Benoit, Roger Weng
Book Image

NW.js Essentials

By: Alessandro Benoit, Roger Weng

Overview of this book

Table of Contents (17 chapters)
NW.js Essentials
About the Author
About the Reviewers

Chapter 3. Leveraging the Power of Node.js

Node.js is an event-driven runtime environment created by Ryan Dahl in 2009 that provides a proper environment to handle tens of thousands of concurrent connections without worrying about their operational costs.

As it also provides a built-in asynchronous I/O library for file, socket, and HTTP communication, it has been adopted as a server-side platform by many of the top players of the industry, such as Yahoo, Microsoft, Groupon, and LinkedIn.

Its daily usage in simpler scenarios is probably justified by the fact that Node.js applications are written in plain JavaScript, a well-established web programming language with a lot of documentation and a steep learning curve.

Many of you have been using Node.js to build client-server applications and might be tempted to reproduce client/server architecture in NW.js. That's not totally wrong; you can port your Node.js web application directly into NW.js with very little effort, but it would affect the platform...