使用 html 和 javascript 打包 RIA 应用程序的选项
我正在开发一个基于 html 和 javascript 的 RIA 应用程序,更具体地说是 jquery。我想将其打包并作为独立应用程序在桌面上运行。我正在将猫鼬视为简单网络服务器的一个选项。创建此类包的前端选项是什么?
- 本机浏览器 - 需要确定每个操作系统中的默认浏览器是什么并启动它。此外,该应用程序最终会成为窗口中的选项卡之一,并且会受到不相关页面上行为不当的脚本的影响。
- 使用 Mozilla Prism 打包 - Google Chrome 应用程序似乎处于非活动状态
- - 首先,用户需要安装 Google Chrome。接下来,该应用程序似乎只能通过市场安装,即使如此,用户也必须转到工具部分并指定“创建应用程序快捷方式”。似乎对用户要求太多了。是否有一个选项可以将 chrome 本身与我的应用程序打包在一起?
- Titanium Appcelerator - 看起来很有希望,但我不确定桌面应用程序的许可证,并且我在 64 位机器(ubuntu 10.10)中设置 Titanium 时遇到问题,这质疑了我对 Titanium 进行跨平台开发的依赖。
我还有其他选择吗? 以前有人遇到过这种情况吗?
I'm working on a RIA app based on html and javascript, jquery to be more specific. I would like to package and run it in on desktops as a standalone application. I'm looking at mongoose as an option for a simple webserver. What are the front-end options to create such a package.
- The native browser - Need to determine in each os what the default browser is and launch it. Besides the app would end up as one of the tabs in a window and would be affected by a misbehaving script on an unrelated page.
- Packaging with Mozilla Prism - Seems to be inactive
- Google Chrome Apps - First, Google Chrome needs to installed by the user. Next it seems like the app can be installed only through the marketplace and even then the user has to go to the tools section and specify "Create Application Shortcut". Seems like asking too much from the user. Is there an option where I can package chrome itself with my app?
- Titanium Appcelerator - Seems promising but I'm not sure of the license for desktop apps and I have issues setting up Titanium in my 64 bit machine (ubuntu 10.10) which questions my dependence on Titanium for cross-platform development.
Is there any other option that I can approach?
Has anyone encountered this before?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Adobe Air 允许您使用 Web 堆栈打包应用程序,以便在桌面上独立运行:
http:// www.adobe.com/products/air/
Adobe Air lets you package an app using the web stack to run as a standalone on a desktop:
http://www.adobe.com/products/air/