SlideShare a Scribd company logo
NWJS
CROSS PLATFORM DESKTOP APPLICATION DEVELOPMENT
Aigars Zeiza
‱ Working in “Accenture” as front end developer
‱ >5yrs of experience
‱ Author of “Zinc” navigation system
HTML5 on desktop
Why you should choose an HTML5 for desktop?
‱ To create difficult UI faster
‱ To migrate an existing web app to desktop
‱ You are a frontend developer
NW.js (node-webkit)
“NW.JS (PREVIOUSLY KNOWN AS NODE-WEBKIT) LETS YOU CALL ALL NODE.JS MODULES
DIRECTLY FROM DOM AND ENABLES A NEW WAY OF WRITING APPLICATIONS WITH ALL
WEB TECHNOLOGIES.”
NWJS.IO
NWJS. Web on desktop
NWJS is cross-platform
NWJS vs Electron
NWJS Electron
Browser runtime Chromium libchromiumcontent
Chromium version 62.0.3202.75 59.0.3071.115
Nodejs version 8.8.1 8.2.1
V8 version 6.1.534.42 5.9.211.38
Entry Point HTML or JS JS only
Bare Distribution Size 139MB (52MB zipped) 125MB (45MB zipped)
Chrome Apps Support Yes No
Support of chrome.* APIs Yes No
Source Code Protection V8 Snapshot ASAR Archive Support
Crash reporting No Yes
Stars on github 32k 52k
Setup our dev environment
‱ Any code editor (Vscode, Sublime text, Atom, Webstorm
)
‱ Nodejs > 4.x
‱ (recommend) Npm install –g nwjs
‱ (recommend) Npm install nwjs-builder-phoenix
Prepare our first app
Prepare our first app
OR
Setup of NWjs
OFFICIAL DOCS:
‱ Download nwjs distributive
‱ Use command like:
/path/to/your/app
/path/to/nw .
Setup of NWjs
OFFICIAL DOCS:
‱ Download nwjs distributive
‱ Use command like:
MORE OPTIMAL SOLUTION:
‱ Use “nwjs” npm package
‱ Use same scripts for all developer team
members
/path/to/your/app
/path/to/nw .
Distribute
Use of build-nwjs-phoenix
SOURCE CODE BUILT APPLICATION
Native UI API
What we can do with nw.gui
‱ Use file dialogs – “select folder” and “save as”
‱ Use windows tray
‱ Shell – collection of APIs that do desktop related jobs
‱ Handling files and arguments
‱ Frameless, transparent window
Native modules
USING OF THIRD PARTY NATIVE MODULES
Using of third party native modules requires
‱ Python 2.x
‱ Visual C++
Testing
NWJS uses Mocha to run tests
Run tests in child process with nw_test_app module
MOCHA_TEST.JS APP
Development features
‱ Chromium developer tools
‱ Easy to implement of Hot Reload
Development features
‱ Chromium developer tools
‱ Easy to implement of Hot Reload
Basic solution
Development features
‱ Chromium developer tools
‱ Easy to implement of Hot Reload
Gulp
More advanced solution with Gulp
Questions?

More Related Content

PPTX
Get acquainted with the new ASP.Net 5
PDF
Afrimadoni the power of docker
PPTX
Deploy an Asp.Net Core App on Azure
PDF
WebAssembly with Rust
PDF
Shift Remote: JS - Javascript Build Tools: Past & Beyond - Shedrack Akintayo
PDF
Working in harmony
PPTX
Docker for .NET Developers
PPTX
PHP Indonesia - Nodejs Web Development
Get acquainted with the new ASP.Net 5
Afrimadoni the power of docker
Deploy an Asp.Net Core App on Azure
WebAssembly with Rust
Shift Remote: JS - Javascript Build Tools: Past & Beyond - Shedrack Akintayo
Working in harmony
Docker for .NET Developers
PHP Indonesia - Nodejs Web Development

What's hot (20)

PPTX
Integrating grunt and bower with maven
PDF
Preprocessor Workflow with Grunt
PDF
Working in Harmony: Manchester - Optimize development and content workflows
PPTX
Short-Training asp.net vNext
PDF
Modern infrastructure as code with ansible cake fest 2021
PDF
Slim PHP when you don't need the kitchen sink
PDF
Dockerfile best practices
PPTX
WP-CLI: WordCamp Nashville 2016
PPTX
Mini-training: Let’s Git It!
PDF
Brief Intro to Phoenix - Elixir Meetup at BukaLapak
PDF
The shift to the edge
PPSX
Node on Windows Azure
KEY
All out on the Cloud - PloneConf 2012
PPTX
Saying goodbye to localhost - developing in the cloud with Cloud9 IDE
PPTX
Breaking the eggshell: From .NET to Node.js
PDF
ICONUK 2015 - Gradle Up!
PDF
OSS at Microsoft
PPTX
Migrating .NET Application to .NET Core
PDF
Serverless framework와 CircleCI넌 톔한 NoOps ë§›ëłŽêž°
PDF
The swiss knife of a word press developer
Integrating grunt and bower with maven
Preprocessor Workflow with Grunt
Working in Harmony: Manchester - Optimize development and content workflows
Short-Training asp.net vNext
Modern infrastructure as code with ansible cake fest 2021
Slim PHP when you don't need the kitchen sink
Dockerfile best practices
WP-CLI: WordCamp Nashville 2016
Mini-training: Let’s Git It!
Brief Intro to Phoenix - Elixir Meetup at BukaLapak
The shift to the edge
Node on Windows Azure
All out on the Cloud - PloneConf 2012
Saying goodbye to localhost - developing in the cloud with Cloud9 IDE
Breaking the eggshell: From .NET to Node.js
ICONUK 2015 - Gradle Up!
OSS at Microsoft
Migrating .NET Application to .NET Core
Serverless framework와 CircleCI넌 톔한 NoOps ë§›ëłŽêž°
The swiss knife of a word press developer
Ad

Similar to NWJS. Web on desktop (20)

KEY
An Introduction to Node.js Development with Windows Azure
PDF
Node js (runtime environment + js library) platform
PPTX
NCDevCon 2017 - Cross Platform Mobile Apps
PPTX
NodeJS Presentation
PPTX
Vagrant to-aws-flow
PPTX
Mini-Training: Node.js
PPTX
Server Side Web Development Unit 1 of Nodejs.pptx
PPSX
Node.js In The Enterprise - A Primer
PPTX
Introduction to node.js by jiban
PPTX
ASP.NET 5 - Microsoft's Web development platform reimagined
PPTX
Irfan maulana nodejs web development
PPTX
Intro to Node.js (v1)
PPTX
Getting Started with ASP.NET vNext
PPTX
Top 10 frameworks of node js
PPTX
3rd-Server-side-Scripting-with-Node.pptx
PDF
August Webinar - Water Cooler Talks: A Look into a Developer's Workbench
PPTX
Halton Software Peer 2 Peer Meetup #10
PPTX
Native Script Overview
PPTX
Java script nirvana in netbeans [con5679]
PDF
Node.js.pdf
An Introduction to Node.js Development with Windows Azure
Node js (runtime environment + js library) platform
NCDevCon 2017 - Cross Platform Mobile Apps
NodeJS Presentation
Vagrant to-aws-flow
Mini-Training: Node.js
Server Side Web Development Unit 1 of Nodejs.pptx
Node.js In The Enterprise - A Primer
Introduction to node.js by jiban
ASP.NET 5 - Microsoft's Web development platform reimagined
Irfan maulana nodejs web development
Intro to Node.js (v1)
Getting Started with ASP.NET vNext
Top 10 frameworks of node js
3rd-Server-side-Scripting-with-Node.pptx
August Webinar - Water Cooler Talks: A Look into a Developer's Workbench
Halton Software Peer 2 Peer Meetup #10
Native Script Overview
Java script nirvana in netbeans [con5679]
Node.js.pdf
Ad

Recently uploaded (20)

PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
AI in Product Development-omnex systems
PPTX
ai tools demonstartion for schools and inter college
PDF
top salesforce developer skills in 2025.pdf
PDF
System and Network Administration Chapter 2
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
System and Network Administraation Chapter 3
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
 
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Design an Analysis of Algorithms I-SECS-1021-03
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Wondershare Filmora 15 Crack With Activation Key [2025
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
AI in Product Development-omnex systems
ai tools demonstartion for schools and inter college
top salesforce developer skills in 2025.pdf
System and Network Administration Chapter 2
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Odoo POS Development Services by CandidRoot Solutions
Odoo Companies in India – Driving Business Transformation.pdf
2025 Textile ERP Trends: SAP, Odoo & Oracle
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
System and Network Administraation Chapter 3
How to Migrate SBCGlobal Email to Yahoo Easily
PTS Company Brochure 2025 (1).pdf.......
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Upgrade and Innovation Strategies for SAP ERP Customers
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
 
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Design an Analysis of Algorithms I-SECS-1021-03

NWJS. Web on desktop