Adobe flex 或 WPF 编写视觉效果丰富的桌面应用程序

发布于 2024-10-13 09:42:35 字数 261 浏览 3 评论 0原文

我有兴趣制作一个桌面应用程序,我想将其用作桌面管理器。此类属于桌面增强类别。我的要求是:

  1. 应用程序必须视觉丰富,面板可以滑动、淡入淡出、擦拭、旋转等。
  2. 还应该支持flash播放。 (swf、flv)
  3. 动画/过渡应该顺利运行。
  4. 降低 CPU 使用率。

我的问题是哪个是构建此应用程序的更好选择。微软的“WPF”或Adobe Flex(在Adobe Air中运行以在桌面上运行)。并回答为什么它更好。

I'm interested in making a desktop application which I would want to use as a Desktop Manager. This kind-of goes to Desktop Enhancement Category. My requirements are:

  1. Application has to be visually rich, with panels sliding,fading,wiping,rotating and etc.
  2. It should also support flash playback. (swf, flv)
  3. Animations/Transitions should run smoothly.
  4. Lower CPU Usage.

My question is which is a better option to build this application. Microsoft's "WPF" or Adobe Flex(running in Adobe Air to run on desktop). And also respond as why it is better.

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

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

发布评论

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

评论(1

痴梦一场 2024-10-20 09:42:35

对于任何会给您提供“肯定使用 xyz”之类的答案的人,请保持怀疑。双方都有优点和缺点。

首先,我认为您可能会混淆 WPF 和 Air 是什么...WPF 是 .Net 框架之上的表示层,而 Air 本身就是一个框架。苹果和橙子。如果您想要模拟 .Net 堆栈中的 Air,您可能需要看看 Silverlight Out-Of-Browser,它与 Air 的比较更接近。

那么,WPF 和 Sliverlight OOB 之间有什么区别呢?同样,WPF 位于一个非常大的 .Net 框架之上,其中 Sliverlight OOB 是一个非常轻的框架(相比之下),就像 Air 一样。这是 200 MB 下载/安装和 12 MB 下载/安装之间的区别。

因此,话虽如此,我认为您还应该询问它需要在哪些平台上运行。 Silverlight OOB 可在 Mac 和 Windows 上运行,而 WPF 仅可在 Windows 上运行。 Air 可在 Mac、Windows 和 Linux 上运行。

接下来我看到的是您需要进行 SWF 和 FLV 播放。使用 Air 可以更轻松地实现这一点,因为它是原生的。您可以使用 Silverlight OOB 来完成此操作,但您会发现自己在托管 HTML 控件并在 HTML 控件内运行 Flash 影片的地方进行了一些配置。它有点笨重,但它会起作用。

除此之外,Air 和 SLOOB 在功能上非常相似。然后取决于你的团队和专业知识,IMO。如果他们已经熟悉 WPF/Silverlight,那么 SL​​OOB 应用程序非常适合以最小的启动速度。如果您的设计师更熟悉 Adob​​e 工具套件,那么使用 Air 构建闪亮的应用程序可能会更容易。

总而言之,在 Air 和 Silverlight/WPF 之间做出选择实际上取决于偏好。也就是说,一旦您克服了任何特定的技术限制,例如闪存播放或操作系统支持。

希望这有帮助,
布莱恩

Be suspicious of anyone who will give you an answer like "Definately use xyz" to this question. There are pros and cons to both sides.

First, I think you might be confusing what WPF and Air are... WPF is a presentation layer on top of the .Net framework, where Air is a framework by itself. Apples and Oranges. If you want an analog to what Air is for the .Net stack, you probably want to look at Silverlight Out-Of-Browser, which is a much closer comparison to Air.

What is the difference, then, between WPF and Sliverlight OOB? Again, WPF sits on top of a very large .Net framework where Sliverlight OOB is a very light framework (in comparison) like air. It is the difference between a 200 MB download/install and a 12 MB download/install.

So, that being said, I think you should also ask what platforms this needs to run on. Silverlight OOB runs on Mac and Windows where WPF only runs on Windows. Air runs on Mac, Windows and Linux.

The next thing that I see is that you need to do SWF and FLV playback. This will be easier to achieve with Air, since it is native. You CAN do this with Silverlight OOB but you will find yourself rigging something up where you host an HTML control and run the flash movie inside the HTML control. It is a bit more clunky, but it will work.

Other than that, Air and SLOOB are very similar in features. It then comes down to your team and the expertise, IMO. If they are already familiar with the WPF/Silverlight, then a SLOOB app is well suited with minimal ramp-up. If your designers are more familiar with the Adobe suite of tools, then it might be easier to build a shiny app using Air.

In all, the decision between Air and Silverlight/WPF really comes down to preference. That is, once you get past any particular techincal limitations like the flash playback or OS support.

Hope this helps,
Brian

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