On Github necccc / talk-node-webkit
Desktop application developmentwith node+js / html / css
Ustream embed player
Debug can be problematic
All these are for developers
native debug is tied to OS versions (older OS'es are out of the question) weinre is a small http and websocket server with a frontend console additional code needed in your application to enable itBut usually, error reports are not from developers...
some errors are noticed quickly by client, and/or sales and marketing - in our case, this means colleagues in US/JP/KR momoclo currently the most popular girl band in japan, hiperactive J-pop Once they had a 24 hour long live event, they even had the whole japanese ustream site re-skinned in their theme Imagine that we try to explain a japanese manager how to natively debug over osx safari the odds are high that it wont happen, even if the japanese are the one of the best error-reporters
"When" and "Where" are also factors in debugging
because it's live, it's important to have logs from first hand and we can restrict content to show up on specific sites, or geographical locationsWebRTC "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
web application runtime
Developed and maintained by Intel
maintain: notification api is a big one, because it operates near the OS level, outside chromium itself but it has most features of chromeChrome HTML5
GPU acceleration
video/audio
most usecases and examples are small games, or even editorsChromium security sandbox "downgrade"
file operations, cross-origin requests
as a packaged application, we are a bit safer from 3rd party scripts running amokNode 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
Zip the application folder, .zip ➔ .nw
Attach nw runtime and done!
Fully distributable app
Automated build: grunt-node-webkit-builder
emphasise: it's a fully distributeable app, the ones who use it, dont have to install any runtimesBe 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