On Tue, Oct 16, 2012 at 11:07 PM, Jeremy Kahn <
jerem...@gmail.com> wrote:
> Cool! This looks like a really interesting project, but I don't totally
> understand how this would benefit Pine. It seems to me like it turns Webkit
> into a sort of a view for a Node process. Am I understanding it correctly?
Essentially.
> I have two concerns with this approach:
>
> This may make it more difficult for game developers to make Pine games.
> They will have to target the node-webkit platform, which is so far uncommon.
> It seems that a node-webkit app is fundamentally different than a "standard"
> web app. It may add a barrier to entry.
I'm only suggesting that it might solve the packaging issue - just a
zip file with a manifest (package.json). As far as developing, the
only difference is that developers can have node "for free" without
any hassle.
I'm not married to this idea; while reading through the docs though it
struck me that this would keep things well organized.
> We get a lot for free with Chromium, and it's unclear what the situation is
> with node-webkit. The two biggest features that Pine developers will
> benefit from are the Chrome Dev Tools and NaCl (Native Client). Are these
> features available for node-webkit, and if so, do they differ from the
> standard Chromium implementation?
node-webkit is chromium merged with node.js. On a thread about
websocket support I asked about PeerConnection API; from the repo
owner:
[-- Snippet starts --]
>> WebRTC also works, for the media part, you can read our Wiki:
>>
https://github.com/rogerwang/node-webkit/wiki/Control-camera-and-microphone-with-getusermedia-api
>
> (Please say yes... would be a whole lot of awesome. ;-)
>
> Is the PeerConnection API supported or planned?
Should be.
A general way to tell this is that we are trying to support everything
supported in Chromium (Content Shell) and Node.
Since node-webkit is based on Chromium and Node this should be
natural. Anything not working should be a bug.
[-- Snippet ends --]
There's also this on the wiki:
<
https://github.com/rogerwang/node-webkit/wiki/How-node.js-is-integrated-with-chromium>
Developer Tools can be enabled by adding --developer option to the nw command.