Cross-Platform Desktop Applications: Using Node, Electron, and NW.js
Paul Jensen
May 2017 · Sold by Simon and Schuster
eBook
312
Pages
family_home
Eligible
info
Free Sample
About this eBook
Summary
Cross-Platform Desktop Applications guides you step-by-step through creating Node.js desktop applications with NW.js and Electron from GitHub. Foreword by Cheng Zhao, creator of Electron.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Desktop application development has traditionally required high-level programming languages and specialized frameworks. With Electron and NW.js, you can apply your existing web dev skills to create desktop applications using only HTML, CSS, and JavaScript. And those applications will work across Windows, Mac, and Linux, radically reducing development and training time.
About the Book
Cross-Platform Desktop Applications guides you step by step through the development of desktop applications using Electron and NW.js. This example-filled guide shows you how to create your own file explorer, and then steps through some of the APIs provided by the frameworks to work with the camera, access the clipboard, make a game with keyboard controls, and build a Twitter desktop notification tool. You'll then learn how to test your applications, and debug and package them as binaries for various OSs.
What's Inside
Create a selfie app with the desktop camera
Learn how to test Electron apps with Devtron
Learn how to use Node.js with your application
About the Reader
Written for developers familiar with HTML, CSS, and JavaScript.
About the Author
Paul Jensen works at Starcount and lives in London, UK.
Table of Contents
PART 1 - WELCOME TO NODE.JS DESKTOP APPLICATION DEVELOPMENT
Introducing Electron and NW.js
Laying the foundation for your first desktop application
Building your first desktop application
Shipping your first desktop application
PART 2 - DIVING DEEPER
Using Node.js within NW.js and Electron
Exploring NW.js and Electron's internals
PART 3 - MASTERING NODE.JS DESKTOP APPLICATION DEVELOPMENT
Controlling how your desktop app is displayed
Creating tray applications
Creating application and context menus
Dragging and dropping files and crafting the UI
Using a webcam in your application
Storing app data
Copying and pasting contents from the clipboard
Binding on keyboard shortcuts
Making desktop notifications
PART 4 - GETTING READY TO RELEASE
Testing desktop apps
Improving app performance with debugging
Packaging the application for the wider world
Computers & Technology
About the author
Paul Jensen works at Starcount and lives in London, UK.
Rate this eBook
Tell us what you think.
Reading information
Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Centre instructions to transfer the files to supported eReaders.