Upload
eddie-lau
View
9.835
Download
2
Embed Size (px)
DESCRIPTION
2014 01 Codeaholics Meetup sharing
Citation preview
Native Desktop App with Node-Webkit
!
(Javascript, HTML, CSS)
Eddie Lau @tatonlto
github.com/3dd13
I love Web App
Centralized Easy to deploy Cross-platform
Single-code-base(if there is no IE)
But
Sometimes
Desktop App!is better than Web App
One click installer No server
No internet Native functionality
(actually … HTML5 & Chrome App can do most too !)
But, but
single-code-base cross-platform
Desktop App development is …
DAMN HARD
Raise hand if you have written any
Java Swing
so … few months ago
I saw Node-Webkit
https://github.com/rogerwang/node-webkit
^___^
Node-Webkit build
a .exe / .app which contains
Node.js & Webkit
what does that mean ?
Node.js!allows you to write Desktop program!
using JS
Webkit!allows you to write Desktop App UI!
using!HTML, CSS & JS
the packaging was clumsy though
!https://github.com/rogerwang/node-webkit/wiki/How-to-
package-and-distribute-your-apps
(height of packaging documentation === 5 * window.height)
Have to zip everytime to test updated .app
T__T
yesterday I saw
Grunt-Node-Webkit-Builderhttps://github.com/mllrsohn/grunt-node-webkit-builder
grunt
\ ( ^ ^ ) /
Demohttps://github.com/3dd13/sample-nw