Desktop application development
with node+js / html / css
Ustream embed player
Debug can be problematic
All these are for developers
But usually, error reports are not from developers...
"When" and "Where" are also factors in debugging
WebRTC
"Chrome/FF only" debug website,
to connect the clients
But mobile has no WebRTC yet :(
WebSocket
WebSocket server on the desktop
easy start,
good tools,
has desktop build
no WebSocket server module
AS3 SocketServer
over JS API
WebSocket protocol has to be implemented by you,
complicated build
“The ws module works fine, can't we just put that behind some frontend, and we're done?”
web application runtime
Developed and maintained by Intel
Chrome HTML5
GPU acceleration
video/audio
Chromium security sandbox "downgrade"
file operations,
cross-origin requests
Node symbols are injected into the
window context right after DOM init
Node stays async, but in a browser
package.json
node packages, deps + runtime config
assets (like CSS, JS libs, images):
referenced in HTML, loaded by Chromium
nw C:\path\to\app\dir-with-package-json
nw /path/to/app/dir-with-package-json
open -n -a node-webkit "/path/to/app/dir-with-package-json"
Zip the application folder,
.zip ➔ .nw
Attach nw runtime and done!
Fully distributable app
Automated build:
grunt-node-webkit-builder
Be aware!
It does not:
mteconsole: {
options : {
version: "0.8.1", // node-webkit version to build with
mac_icns: "../mtec/icons/mtec.icns",
build_dir: '../mtec/build',
mac: true,
win: true,
linux32: false,
linux64: false
},
src: ['../mtec/src/**/*']
}
Thank you