问题描述
有时我认为我想开发一个独立的(既不需要Web服务器也不需要运行浏览器)Windows的桌面GUI应用程序, Mac OS X和Linux 使用HTML5,CSS和JavaScript形成GUI。
Sometimes I think I want to develop a standalone (needing neither a web server nor a browser to run) desktop GUI application for Windows, Mac OS X and Linux using HTML5, CSS and JavaScript to form the GUI.
但据我所知,Adobe AIR和Mozilla Prism都已被弃用。这项任务的其他选择是什么?
But as far as I know, both Adobe AIR and Mozilla Prism are deprecated. What are other options for this task?
更新:回应已经得到的答案和评论,我想强调一下应用程序必须适用于Windows,Mac OS X和Linux没有任何严重的修改。该平台将为所有3个主要PC操作系统积极开发和支持。单平台应用程序不是一个选项,也不是其中一个应用程序支持有限的应用程序。
UPDATE: Responding to the answers and comments already got, I'd like to emphasize that the applications must work on Windows, Mac OS X and Linux without any serious modifications. The platform is to be actively developed and supported for all the 3 major PC OSes. Single-platform applications are not an option, neither are applications with limited support of one of them.
推荐答案
基于评估的解决方案在,这些应该是与您的要求最相关的HTML5运行时。
Based upon the solutions evaluated on http://blog.neamlabs.com/post/36584972328/2012-11-26-web-app-cross-platform-desktop-distribution, these should be the most relevant HTML5 Runtimes with regards to your requirements.
- - 直接受益于Firefox开发工作,这是一个维护得非常好的解决方案,具有出色的跨平台支持,但除了Firefox和其他基于开源XULRunner的应用程序本身之外,几乎不存在用于打包和分发的工具或文档
- - 类似于具有更多桌面集成功能的Chrome网络应用。没有闪存支持。
- - 赞具有更好桌面集成的Mozilla Open Web App。仍然需要通过Firefox Marketplace进行在线安装。
- (以前Titanium Desktop) - 尽管它似乎是全面的完美解决方案,但目前的状态是TideSDK几乎没有生产就绪(由于积极的开发可能会在几个月左右的时间内发生变化)
- 看起来非常相关,不确定生产就绪虽然如此。
- XULRunner - Benefiting directly on Firefox development efforts, this is an extremely well-maintained solution with great cross platform support but with almost non-existant tooling or documentation for packaging and distribution other than those of Firefox and other open source XULRunner-based applications themselves
- Chrome Installable Web Apps - Like a Chrome web app with more desktop integration. No flash support.
- Mozilla Native Web Apps - Like a Mozilla Open Web App with better desktop integration. Still requires online installation through Firefox Marketplace.
- TideSDK (formerly Titanium Desktop) - Although it may appear to be the perfect solution all-round, the current state is that TideSDK is not nearly production ready (may change in a couple of months or so, due to active development)
- node-webkit looks very relevant, not sure about the "production-ready" part though.
这篇关于是否有生产就绪的跨操作系统桌面HTML5运行时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!