since the latest version of appjs there is a shared context between
node/webkit so you can use node calls inside the "client side" code.
Example here https://gist.github.com/3312818
danmilon.
On 08/10/2012 03:57 AM, Zhao Cheng wrote:
On Thu, Aug 9, 2012 at 11:16 PM, Tim Caswell <[email protected]> wrote:
I don't know it this was mentioned before, but could you summarize how
this project differs in goals and maturity to other similar projects
like appjs?
I'm not trying to discourage you, this work is fantastic! I just know
that it's not obvious to everyone what the differences are.
You're right, a compare table is necessary, I'll add one in the Wiki page.
In summary, node-webkit is different to appjs in following ways:
1. appjs is a module for node but node-webkit is a standalone runtime.
2. it's hard to distribute app written with appjs, but node-webkit has
a working out of box package system.
3. the webview created by appjs is just a normal webview, it's very
hard to use along with nodejs. But webview created by node-webkit has
integrated nodejs into it, that means you can directly use 'require',
'process' and others in the <script> tag of a html page.
4. write apps with node-webkit is as simple as write a web page, and
even simpler because you can use all nodejs stuff including its third
party modules.
And see our file explorer demo on:
https://github.com/zcbenz/nw-file-explorer
then you'll know how powerful node-webkit is.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en