开发者

Are there HTML5 desktop app frameworks (like Titanium or Adobe AIR) that run on V8 or Rhino instead of JavaScriptCore?

开发者 https://www.devze.com 2023-04-04 09:35 出处:网络
Our product, a desktop app, is composed of a ton of HTML5 and JavaScript together with a thin platform-specific layer that is basically a WebKit shell. Since this is much the same strategy as a framew

Our product, a desktop app, is composed of a ton of HTML5 and JavaScript together with a thin platform-specific layer that is basically a WebKit shell. Since this is much the same strategy as a framework like Appcelerator Titanium, and we waste way too much effort on this custom WebKit shell code, we were hoping to switch to Titanium or a similar framework to handle that for us.

However, such a switch would be much more compelling if we could pick up a nice modern JavaScript engine in the process. Like Titanium, we're currently on JavaScriptCore, which sucks (they still don't have Function.prototype.bind!). We'd take either V8, for speed and modernity, or Rhino, for yummy JavaScript 1.7/ECMAScript Harmony features.

Does anyone know of a framework for building desktop apps with HTML5 that uses either of these engines? Or some way o开发者_如何学JAVAf making either work with Titanium that will be very little effort? I saw the v8_titanium and rhino_titanium projects on GitHub, but see no mention of them anywhere else, or any documentation on how to use them. And the Adobe AIR WebKit page has nothing encouraging either.


Node-webkit is just about done being ported to use cef3. https://github.com/rogerwang/node-webkit/tree/cef


To follow up on this, we've just published binaries for all 3 platforms at https://github.com/milani/appjs | http://appjs.org. That's Chromium and Node, provided as a package that works out of the box with no configuration cross platform.


I think you could count Mozilla XULRunner as "app framework". It's more like embedded Firefox than framework, though.

https://developer.mozilla.org/en/xulrunner

It's much much more complex and powerful than Adobe AIR or Titanium.


We ended up on Chromium Embedded, which is a bit rough around the edges but definitely gets the job done.


You can use Adobe AIR to build HTML5 desktop apps.

AIR uses the webkit engine: http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7ec1.html

See also:

http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7ecc.html

0

精彩评论

暂无评论...
验证码 换一张
取 消