JavaFX 或 RIA 桌面应用程序(在 DVD 上)也可以在网络上使用吗?

发布于 2024-08-03 09:39:37 字数 216 浏览 5 评论 0原文

是否有可能开发一个可以在网络上轻松使用并且可以通过 DVD 分发(安装程序或从 DVD 启动)的应用程序?

目前,我们使用静态 html(框架集!)页面(由 xml 文件生成),有一个区别:pdf 仅在 DVD 版本上,网络版本仅显示这些文件的预览。

这可以使用 JavaFX、OpenLaszlo 来完成还是有更好的选择? (例如:涡轮齿轮,并使用 tg2exe 获取 DVD 版本)

Is it possible to develop an application easily available on the web that also can be distributed on DVD (installer or started from the dvd)?

For the moment, we use static html (frameset!) pages (generated by xml files), with one difference: pdf's are only on the DVD version, the web version only shows a preview of these files.

Can this be done with JavaFX, OpenLaszlo or are there better options?
(for example: turbogears, and using tg2exe for DVD version)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

策马西风 2024-08-10 09:39:37

我认为如果你一开始就设计正确,JavaFX 应用程序可以相对轻松地在 Web 应用程序和桌面应用程序之间互换。然而,我只用非常简单的应用程序(特别是井字游戏!)来完成此操作,所以我确信可能存在一些我不知道的警告(因此“正确设计”包罗万象) 。 ;)

为什么不直接提供当前网络版本中的 PDF,而不是重新开发所有内容?我不知道有哪个浏览器不再支持浏览器内 PDF 阅读。

I think if you design it correctly to begin with, a JavaFX app can be interchanged between web-app and desktop-app relatively easily. However, I've only done this with very simple apps (specifically, Tic-Tac-Toe!), so I'm sure there might exist some caveats that I am unaware of (thus the "design it correctly" catch-all). ;)

Why don't you just provide the PDFs in your current web version, rather than redeveloping everything? I'm not aware of any browsers that don't support in-browser PDF reading anymore.

冧九 2024-08-10 09:39:37

是的,JavaFX 或 Flash 应用程序可用于开发在不同上下文中运行的应用程序。

但是,从您的问题中不清楚为什么这些比您当前的解决方案更可取。

如果您共享的信息主要是文本,并且您使用 DVD 是因为您的受众主要位于互联网连接较差的区域,那么您当前的方法可能更有意义。对于开发人员来说,JavaFX 或 Flash 可能更有趣,但可能无法满足您的受众的需求。

如果您要运送 DVD,并且正在寻找使 DVD 比作为 PDF 传送系统更有用的方法,我建议您将视频添加到 DVD 中。那么也许使用 JavaFX 或 Flash 来驱动 UI 会更有意义。

Yes JavaFX or Flash applications can be used to develop applications that run in different contexts.

However, it's not clear from your question why these would be preferable over your current solution.

If the information your sharing is primarily text and you're using DVD because your audience is primarily located in area with bad Internet connectivity, then you're current approach probably makes more sense. JavaFX or Flash might be more fun to write for developers but maybe doesn't serve your audience.

I would suggest that if you are shipping DVD and are looking for ways to make the DVD more useful than as a PDF delivery system would be to add video to the DVDs. And then maybe it would make more sense to use JavaFX or Flash to drive the UI.

我是男神闪亮亮 2024-08-10 09:39:37

是的,这是可能的。如果您使用 JavaFX,您将被允许使用多个部署。例如,带有 JavaFX 的 NetBeans 6.7.1 从一个项目创建多种可能的部署。然后您可以在 Web、DVD 等上发布此应用程序。您将需要稍微自定义 DVD 的独立部署,以便能够在必要时将其启动为自动运行。 JavaFX 是不错的选择。

Yes, it is possible. If you use JavaFX you will be allowed use multiple deployments. For example, NetBeans 6.7.1 with JavaFX creates several possible deployments from one project. Then you can publish this application on web, DVD, etc. You will need to slightly customize standalone deployment for DVD to be able e.g. start it as autorun if necessary. JavaFX is good choice.

终难愈 2024-08-10 09:39:37

这似乎是 Flex 的工作,但我对此知之甚少,无法给出更好的答案。

This seems like a job for flex, however I know better little about it to give a better answer.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文