Chapter 2. Laying the foundation for your first desktop application

This chapter covers

  • Building a file explorer in both NW.js and Electron
  • Setting up your application
  • Structuring your application’s files
  • Understanding how the user interface of the application works
  • Accessing the filesystem in Node.js

As developers, we often forget how lucky we are to work in an industry where the tools are readily available and free or relatively inexpensive to get ahold of. In this chapter, we’ll get to grips with building desktop applications through creating a file explorer application. We’ll look at how the app is built with both NW.js and Electron so that we can compare and contrast the ways in which they approach desktop applications.

Grab a ...

Get Cross-Platform Desktop Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.