JavaFX 和 Silverlight 的优缺点

发布于 2024-08-14 03:31:11 字数 1433 浏览 2 评论 0原文

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

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

发布评论

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

评论(4

甜嗑 2024-08-21 03:31:11

过去几个月我一直在使用 JavaFX,我不建议任何人开始使用它,除非限制(例如缺乏 Linux 支持)太严格。目前 IDE 对 JavaFX 的支持还很荒谬。您没有重构帮助,没有自动格式,甚至没有缩进帮助。

我喜欢 JavaFX,并将继续使用它,但对于两种同样优秀的语言来说,巨大的 IDE 差异很难克服。

Silverlight 也有 Expression Blend,用于(某种)所见即所得。

我认为 JavaFX 中的解决方案会更好,但创建它可能会困难得多。

I have been playing around with JavaFX the last months and i would not recommend anyone to start using it unless the limitations (like lack of Linux support) are too harsh. The IDE support for JavaFX is ridiculous at the moment. You have no refactoring help, no autoformat and not even help with indentaion.

I like JavaFX and will continue to play around with it, but for 2 equally good languages, the huge IDE different is hard to overcome.

Silverlight has got Expression Blend as well, for (kind of) WYSIWYG.

I think a solution in JavaFX would be better, but creating it will probably be alot more difficult.

黎歌 2024-08-21 03:31:11

有几个人想到了 JavaFX

  • 仅支持拉丁字符集(目前)(假)JavaFx 使用标准 Java 字符串表示形式,并且渲染完全能够处理非拉丁字符。
  • 设计工具较少(确实),但请查看最新的 NetBeans(更多 @ 链接文本
  • 很少或没有浏览器外集成(假) JavaFX 在 Web/桌面、移动设备和新平台上运行已计划。
  • 每个版本的性能都在提高。
  • 成熟度与 Silverlight 相同,但根据已安装的 JVM 拥有更好的市场份额。

您对 JavaFX 的评估有点错误。

Several thinks about JavaFX.

  • Only supports Latin character sets (at this time) (false) JavaFx uses standard Java string representation and also rendering is fully capable to handle non Latin characters.
  • Fewer designer tools (true) but take a look at newest NetBeans (more @ link text)
  • Little or no out-of-browser integration (false) JavaFX runs in web/desktop, mobile and new platforms are planned.
  • Performance is improving with each release.
  • Maturity has same as Silverlight, but with better market share based on installed JVMs.

Your evaluation of JavaFX is kind of wrong.

柠檬色的秋千 2024-08-21 03:31:11

我最近一直在用 JavaFX 开发一些材料。

JavaFX 的性能在过去 6 个月(1.0 和 1.2 之间)显着提高,并且预计在 1.3 版本中再次提高。

“浏览器外集成”本质上是JNLP(即Web-start)。据我所知,这是完全合理的。例如,WidgetFX 完全用 JavaFX 编写了一个类似 Vista/7 的桌面侧边栏 http://widgetfx.org/

据称,甲骨文有“动力和动力”——拉里·埃里森一直公开对此表示热情——但这当然受到欧盟对甲骨文与Sun合并的调查的阻碍。

请注意,JavaFX 不使用 Java 语法。然而,它是一种非常简洁和快速的编写 GUI 的语言,但它自己的学习曲线确实(相对较短)。然而,它可以包含任何 Swing 组件(并且有相当多的库),并且可以使用 Java 类。

I've been developing some materials in JavaFX recently.

The performance of JavaFX has improved markedly over the last 6 months (between 1.0 and 1.2), and is supposed to improve yet again with the 1.3 release.

"Out of browser integration" is essentially JNLP (ie, Web-start). It's perfectly reasonable from what I can tell. For instance, WidgetFX have written a Vista/7-like desktop sidebar entirely in JavaFX http://widgetfx.org/

There is supposedly "momentum and drive" from Oracle -- Larry Ellison has been publicly enthusing about it -- but that of course is held up by the EU's investigation of the Oracle-Sun merger.

Note that JavaFX does not use Java syntax. It is, however, a very concise and quick language to write a GUI in, but does have a (relatively short) learning curve of its own. It can however include any Swing components (and there are quite a few libraries of them out there), and can use Java classes.

葬心 2024-08-21 03:31:11

我想扩展一下您关于 IDE 和开发/设计人员工作流程的观点 - 我已经使用 Silverlight 一年半了,我不得不说我成功的关键是工具。在开发端,通过 Web 服务调用从客户端到服务器端逐步执行调试器中的代码的能力非常有帮助。我们聘请了具有 Adob​​e 工具集经验的设计师,并看到他们在 Blend 中立即变得富有成效(动画 UI、转换屏幕、隐藏/显示元素等)。再加上 Visual Studio 和 Blend 都可以共享相同的源代码控制系统,您就拥有了一个出色的生态系统,可以快速地将美观的 Web 应用程序整合在一起。

Silverlight 的另一个优点是语言独立性。如果您选择 C#,您还可以获得 LINQ、lambda 表达式和(很快)并行 foreach 循环。

I wanted to expand a bit on your point about the IDE and dev/designer workflow - I've been working with Silverlight for a year and half now, and I have to say the key to my success has been the tooling. On the dev side the ability to step through code in the debugger from client side to server side across a web service call is very helpful. We've hired designers with experience in the Adobe toolset and seen them become immediately productive in Blend (animating UIs, transitioning screens, hiding/showing elements, etc). Couple that with the fact that both Visual Studio and Blend can share the same source control system and you've got a great ecosystem for rapidly pulling together good looking web apps.

One other pro for Silverlight is the language independence. If you choose C# you also get LINQ, lambda expression and (soon) parallel foreach loops.

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