Windows 8 下的 WPF 和 Silverlight 的未来会怎样?
请参阅HTML5/JS Windows 8 GUI 的首次公告,许多WPF 和 Silverlight 开发人员感到恐慌。
这些技术的未来是什么?新旧技术如何协同?我们是否应该尽快开始使用全新的框架进行开发?
有没有人有官方消息来源澄清一下情况?
Seeing the first announcement of the HTML5/JS Windows 8 GUI, plenty of WPF and Silverlight developers panicked.
What is the future for these technologies? How will the new and old technologies be able to cooperate? Should we all start developing using an entirely new framework pretty soon?
Does anyone have official sources clarifying the situation a bit?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在构建会议的主题演讲中,他们演示了以下平台图:
WinRT 是一个Win32 的面向对象替代品,但 Win32 API 尚未删除,使用传统应用程序执行环境的旧应用程序将继续按预期工作。
Joe Stegman 在 BUILD 会议上的演讲详细介绍了预计。
因此,是的,现有技术仍然会存在得到支持。但是,为了利用新技术,您必须基于 WinRT 进行构建。使用 XAML 与您已经习惯的没有太大区别。
Windows 8 (BUILD) 开发博客 阐明了背景和设计决策。
Windows 8 的全新 Metro 风格用户界面经过彻底改造,在设计时就考虑到了全新体验。
不过,Windows 8的开发团队认识到需要继续支持现有的桌面界面和应用程序,甚至会继续改进它。正如他们在 后续帖子,将Metro风格与传统桌面的差距做得尽可能和谐。
Metro风格的界面试图在合适的地方取代现有的界面,但在传统桌面可以提供更好体验的地方,它仍然可以。
至于是否仍支持现有技术,他们提到了以下内容:
微软的 Jon DeVaan 的评论更让人放心:
In the keynote of the build conference they demonstrated the following platform diagram:
WinRT is an object-oriented replacement for Win32, but the Win32 API has not been removed and older applications using the traditional application execution environment will continue to work as expected.
This talk by Joe Stegman at the BUILD conference goes into detail about what to expect.
So yes, the existing technologies will still be supported. However, in order to make use of the new technologies you will have to build upon WinRT. Using XAML won't differ much from what you are already used to.
The development blog of Windows 8 (BUILD) sheds some light on the background and design decisions.
The new Metro-style user interface of Windows 8 is a complete overhaul, designed up front with a new experience in mind.
However, the development team of Windows 8 recognizes the need to continue supporting the existing desktop interface and applications, and will even continue to improve it. As they discuss in a follow-up post, the gap between Metro style and the traditional desktop is made as harmonious as possible.
The Metro-style interface tries to replace the existing interface where suitable, but where the traditional desktop can provide a better experience, it still can.
As to whether the existing technologies will still be supported, they mentioned the following:
The comment by Jon DeVaan from Microsoft is even more reassuring:
Silverlight 即将消失:甚至它的网站也不再更新。微软选择用HTML5来取代它。
对于WPF,您可以在Wnddows 8中使用C#中的XWML语言,但库和对象、命名空间不一样。
Silverlight is going to disapear : even its website isn't updated anymore. Microsoft chose to replace it by HTML5.
For WPF, you can use the XWML language in Wnddows 8 with C#, but the librairies and objects, namespaces are not the same.