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 5. Let's Put It All Together

Finally, we're ready to put into practice what we've learned until now. In this chapter, we're going to develop a full, working NW.js desktop application from scratch. We will do it step by step, starting from some styling advice, proceeding by implementing the basic functionalities, and eventually integrating them to create a proper desktop GUI thanks to Native UI APIs. Here's how our application will look like:

I apologize for the lack of imagination, but I thought that the most suitable example was the classic ToDO list application. However, in order to make it interesting, I added the ability to synchronize the database remotely via PouchDB and a simple option panel to better understand how to work with multiple windows. Moreover, the application will be ready to run on Mac OS X, Microsoft Windows, and Linux.


Some notes about the programming style adopted in this chapter

The programming style adopted in this chapter is probably much different from...