neuhawk

博客园 首页 新随笔 联系 订阅 管理
   wpf/e已经出来了,http://msdn2.microsoft.com/en-us/library/bb190632.aspx 

                                              (架构图)

 偶马上下载尝试,并去msdn blog找资料,现有以下问题.

1 WPF/E 12 CTP 只支持用JavaScript编写代码(从图中可以看出,JavaScript才是核心),对于C#和VB.Net要等明年,估计是明年2月份以后;

2 目前最新版的Expression还不支持WPF/E,我用Microsoft Expression Blend Beta 1画了些简单的图形,然后copy到WPF/E Project里,发现有些属性不支持,删除一些属性就可以了,估计下个版本会支持WPF/E,其他工具 Adobe Illustrator exporter for "WPF/E"

3 wpf/e目前版本没有U控件,没有数据绑定,只是实现了wpf中的CanvasEllipse、 Rectangle、 Line、 Polyline、 Polygon,、 Path 、TextBlock 这几个元素,连button都没有,在Quickstart有用画线和javascript实现button等.但对于treeview,menu几乎是无法实现的;从Mike Harsh's Blog的文章What is WPF/E really?可以看得出来
wpf/e团队也在考虑是否加入wpf的UI控件,因为他们觉得html已经够成熟够用了,然而,没有UI,就像用flash那样开发RIA那样痛苦.
   Something to keep in mind is that the Flash runtime that Flex uses does not include these more complex controls either.  The components used in Flex are generated in a library that is downloaded with every Flex app.  This model is difficult (though not impossible) to implement with the December CTP of WPF/E.  Future CTPs will expand upon the custom component story.
                                                                                                          --WPF/E PM: Mike

4 WPF/E对视频的支持,1M多安装程序,就可以支持wmv、wma、map3,确实很了不起啊。以后播放视频可用WPF/E替代Windows Media Player了;使用方法见 How to embed videos into your blog using "WPF/E"?

5,现在这个版本,缺乏太多内容了,不过WPF/E会逐渐把WPF的特性加入WPF/E中。
   T his is not to say other parts of WPF will not be incorporated into WPF/E in future CTPs and versions of the product, because we are definitely planning on growing our WPF subset and the overlap with HTML features.  Very important things like text input, layout, resources, data binding and of course, CLR integration are all WPF features that our team is scoping for integration with WFP/E.  I’m just trying to frame the approach we’ve taken with the initial CTP of WPF/E.  Extend the browser and give users the most consistent development model we can. 
                                                                                 WPF/E PM: Mike

6、可以用Script#来写WPF/E程序,Script#是一个用c#语法写JavaScript的工具
http://www.nikhilk.net/WPFEAndScriptSharp.aspx

7、WPF/E Toolkit Extender ,这样调用WPF/E会方便一些
<wpfe:WPFEHostExtender ID="wpfeControl" Runat="server" Height="350px" TargetControlID="Panel1" Width="350px" XamlPath="myWpfeControl.xaml" BackgroundColor="transparent"/>
http://blogs.msdn.com/sburke/archive/2006/12/05/toolkit-extender-for-creating-wpf-e-components.aspx 
 
 总体来说,wpf/e是很让人兴奋的技术,如果日后WPF/E支持Linux/Mac/Mobile,日后企业开发可以考虑用WPF/E了,毕竟Html太轻,Winform太重。
posted on 2006-12-07 13:28  neuhawk  阅读(2315)  评论(4编辑  收藏  举报