cobra - 2008-8-31 15:34:00
由于在微软实习,而且从事的又是Silverlight开发,觉得还是有必要留下点东西的。本来写了一篇,但是由于怕公司不允许写技术博客,所以删除,但是后来在mentor那边了解到只要不写项目的内容就可以了,于是还是大胆的在这边写一系列Silverlight的文章,抛砖引玉,如果有哪里写得不好或者有误的,请大家指正(BTW:初步计划每周写1~2篇)。
Silverlight是微软开发Web富客户端的最新杀手锏,就是大名鼎鼎的WPF/E,可以看成WPF的一个子集,是Adobe Flash的直接竞争对手(官方网站在http://www.silverlight.net/,另外Jesse Liberty的博客http://silverlight.net/blogs/jesseliberty/,以及一个Silverlight博客资源汇集网站http://www.silverlightcream.com/,都是你起步以及深入学习的最好起点)
下面先介绍下Silverlight的版本历程把:到目前为止Silverlight共经历了三个版本Silverlight 1.0Silverlight 2 Beta1Silverlight 2 Beta2Silverlight 1.0只能使用脚本语言JavaScript来控制底层,有点像Asp.net Ajax的增强版,而到了Silverlight 2进入了一个新的纪元,支持VB.Net,C#等常规面向对象语言以及IronPhyton,IronRuby等动态语言来编写底层控制代码,不过这几个版本的兼容性做得有点差。比如:如果安装了的是Silverlight 2 Beta2,之前用Silverlight 1.0和Silverlight 2 Beta1编写的程序可能无法正常运行,当然到了今年9月中旬左右,Silverlight 2 RTM后这个局面应该会有改观。
俗话说得好,工欲善其事,必先利其器,学习Silverlight也一样。下面是学习Silverlight需要的一些工具(Silverlight 2 Beta2版本):1. Visual Studio 2008 (这个工具作为.Net程序员的咱们应该不会陌生)+ Silverlight Tools Beta 2 for Visual Studio 20082. Microsoft Expression Blend 2.5 June 2008 Preview (WPF美工必备,界面有点类似Photoshop,目前只有这个版本支持Silverlight 2 Beta2)3. Deep Zoom Composer (这个知道的人可能相对少些,可以使用其作出类似Cooliris的应用程序)BTW:大家可以在如下几个网站看看用这个技术作出的超炫效果http://memorabilia.hardrock.com/
http://robburke.net/images/deeplol.html
Silverlight 2 Beta 2目前支持和不支持的列表(大家可以参照这个列表看看自己是否有必要把之前的程序搬移到Silverlight技术上来) Silverlight Supports:•JPG and PNG file formats. •Transparency through PNG files. •Keyboard and mouse input •Sound •Game UI layout through Grid elements. •Texture blending through Opacity. •Socket/TCP programming for multi-player networking support •Events (clicking, etc.) •Animation - WPF model that uses timers instead of frames. •Great debugging support through Visual Studio.
Silverlight Don’t Support:•Don’t Support GIF or BMP file formats•Saving files locally - Due to security concerns, Silverlight 2.0 does not support saving•3D rendering(文/ibillguo 出处/博客园)
您可能对 [Silverlight] 的这些文章也感兴趣: