From NW.js in Action

The difference between traditional web apps and desktop apps built with NW.js is that where there the code for the interface and the business logic in a web app are in separate places and share no state or context, in NW.js not only do they run in one place, but they also share state and context.

The difference between traditional web apps and desktop apps built with NW.js is that where there the code for the interface and the business logic in a web app are in separate places and share no state or context, in NW.js not only do they run in one place, but they also share state and context.