4 ms·
I reallllly want someone to repackage how NW.js works to be able to ship just the app files, and have NW.js work like the JVM. Super tired of having 20 differen
by rtpg 11y ago
I reallllly want someone to repackage how NW.js works to be able to ship just the app files, and have NW.js work like the JVM. Super tired of having 20 different instances of webkit
Very full guide though, down to release.
- pinum 11y agoI for one do not. Desktop/laptop storage drives are huge now, RAM is plentiful, internet connections are fast. Time spent debugging horrific deranged multiple JVM setup nightmares, however, is as expensive as ever.
- mynegation 11y agoMaybe someone should explore the concept of "docker for JVMs/WebKits". Or - to be more precise - aufs for multiple versions of big runtime. Although I suspect that disk space savings may not be that good, and that will not solve RAM problem either.
- paulddraper 11y agohttps://en.wikipedia.org/wiki/Wirth%27s_law https://en.wikipedia.org/wiki/Wirth%27s_law
- seanwilson 11y agoWouldn't this be like installing Chrome then and installing Chrome apps?
- chrisdevereux 11y agoOr even better, use the platform's native webview.
- kitsunesoba 11y agoYes please! I’m not a fan of wrapper apps, but for the ones that I have no choice in using (Slack for instance) it’d be great if they used the copy of WebKit included with OS X, preferably through WKWebView. While web engines are always going to be mammoths, at least OS X bundled webkit is specifically optimized for the OS and tends to be easier on the battery than Chromium-based stuff.
- tflinton 11y agoTry tint: https://github.com/trueinteractions/tint2/ https://github.com/trueinteractions/tint2/
- tzm 11y agoI have to say Tint is a great tool to develop apps with, particularly for binding a node runtime to native (Objective-C and .NET/COM) objects. I've been using it for the past several months working on two fairly large-scale apps. Thanks Trevor and team.
- rtpg 11y agoThe thing NW.js offers is access to node.js libs through JavaScript. This isn't available through the native webview (for good reason! Very much a security risk)
- chrisdevereux 11y agoMost embeddable webviews allow binding additional methods that call into native though. This is how cordova works, in fact. If you're restricting access to local html/js, it shouldnt be any different to nw/electron from a security perspective. Edit: looks like the tint framework linked above actually isolates the webview from the node runtime. Nice.