- 浏览: 648945 次
- 性别:
- 来自: 石家庄
文章分类
最新评论
-
abao1:
老贾 在安装IDEA的过程中,在激活步骤时,按如下操作即可: ...
IntelliJ IDEA 2016注册方法和注册码 -
bo_hai:
./usr/bin/java: symbol lookup ...
jmagick安装步骤 -
wxcking:
不错的, 收藏一下
JAVA使用POI生成Excel文件 -
zgyfh:
大哥,密码是多少啊?zgyfh@tom.com谢谢了!新手学习 ...
WPF做的必备示例 -
记忆无泪:
jiasongmao 写道你的邮箱是多少,我可以发源代码到邮箱 ...
WPF做的必备示例
Silverlight 物理模型
http://www.codeplex.com/FarseerPhysics
demo: http://www.farseergames.com/Games/WaterDemo/WaterDemo.aspx
Physics Helper
是Silverlight中的一套控件,他能直接帮助你套用Farseer Physics
这个物理引擎。在制作动画中能帮你节省大量的时间。
The Farseer Physics Engine is an easy to use 2D physics engine designed for Microsoft’s XNA
and Silverlight
platforms. The Farseer Physics Engine focuses on simplicity, useful features, and enabling the creation of fun, dynamic games.
Demos
Egg on a Hill
Car on a Ramp
Simple Game
Rag Doll
Camera with Rag Doll
Camera with Truck
PhysicsHelperAnimal
Resources
Physics Helper for Silverlight, Blend, and Farseer
Farseer Physics Engine
-
Silverlight Cairngorm
http://www.codeplex.com/SilverlightCairngorm
Cairngorm
这个词做过flex开发的朋友应该不会陌生,Cairngorm是Flex开发中的一个MVC框架,由Adobe
官方提供支持。现在Silverlight也有了Cairngorm这个框架的实现
Currently, there's no official MVC/MVP/MV-VM frameworks for Silverlight . When developing enterprise applications, or building a large scale LOB application in Silverlight, client side architecture becomes important for "development salability". Although there is some guidance or frameworks for WPF , none of them can be easily applied to Silverlight. Adobe's Cairngorm has been broadly used in the Flex RIA application since 2006; it has easy-to-understand concepts, well-recognized design patterns, and has proved to work well to scale large line-of-business applications' development. This article describes the efforts of porting Cairngorm to Silverlight (Beta 2) in Visual Studio 2008 SP1, provides details about which concepts/classes have been adopted and what has been dropped, and also includes a sample application to demonstrate how it works and how it's intended to use. It helped me a lot to create a Silverlight prototype at work for a potential large scale consumer-oriented financial application; wish this effort would be useful to other Silverlight developers.
摘自:http://www.codeproject.com/KB/silverlight/SilverlightCairngorm.aspx
-
patterns & practices - Unity
现在已经支持silverlight :
什么是 Unity?
Unity是一个轻量级的,可扩充的依赖注入容器。Unity可以很好的支持Model-View-Presenter (MVP) pattern来做silverlight的开发。
The
Unity Application Block (Unity) is a lightweight extensible dependency
injection container with support for constructor, property, and method
call injection.
Unity addresses the issues faced by developers
engaged in component-based software engineering. Modern business
applications consist of custom business objects and components that
perform specific or generic tasks within the application, in addition to
components that individually address cross cutting concerns such as
logging, authentication, authorization, caching, and exception handling.
The key to successfully building such applications is to
achieve a decoupled or very loosely coupled design. Loosely coupled
applications are more flexible and easier to maintain. They are also
easier to test during development. You can mock up shims (lightweight
mock implementations) of objects that have strong concrete dependencies;
such as database connections, network connections, ERP connections, and
rich user interface components.
Dependency injection is a prime
technique for building loosely coupled applications. It provides ways
to handle the dependencies between objects. For example, an object that
processes customer information may depend on other objects that access
the data store, validate the information, and check that the user is
authorized to perform updates. Dependency injection techniques can
ensure that the customer class correctly instantiates and populates all
of these objects, especially where the dependencies may be abstract.
What’s New?
The following capabilities and packaging of the Unity container have been adjusted in this release:
- – The single Microsoft.Practices.Unity.dll file in the Silverlight version contains all the classes from the three separate desktop DLLs: Microsoft.Practices.Unity.dll, Microsoft.Practices.ObjectBuilder2.dll, and Microsoft.Practices.Unity.StaticFactoryExtension.dll. You only need to reference and deploy the one assembly in your Silverlight projects.
- – Because of differences in the Silverlight security model, only public types can be created and injected by the container. The desktop version allows you to also inject internal types.
- – XML configuration is not supported.
- - The Unity interception mechanism is not supported.
-
Silverlight 3D 引擎: Kit3D
Kit3D
is a 3D graphics engine for Microsoft Silverlight. There is a JavaScript
version that runs on the 1.0 bits of Silvelright, however moving
forward the engine will only be actively developed in C#. The library
has been refactored to match the System.Windows.Media.Media3D namespace
from WPF so that it closely matches development for WPF3D syntax (saves
me creating documentation :-) )
This
is really cool - check out the video running on the cubes, also if you
click on some of the cubes the layers rotate, awesome: http://sildev.net/3DCubes/index.html
(The owner of the site modified Kit3D to have videobrush support, I hope to add this soon)
http://sildev.net/3DDemo/
-
Silverlight 射箭小游戏 基于MVC框架
http://www.codeplex.com/PowerArrow
预览地址:http://itouchfuture.cn/lab/powerarrow/
Silverlight技术慢慢的成熟了起来,这里我用了业余时间做了一个小游戏。操作很简单,鼠标按下是拉弓,松开是射箭。
游
戏采用了MVC框架Cairngorm http://www.codeplex.com/SilverlightCairngorm
来进行开发。所有的元素都封装成了控件,和Model层的数据进行了双向的绑定。可以简单的通过控制Model模型对整个游戏进行控制。
后记:非常感谢来自http://www.cnblogs.com/nasa 的优秀文章
-
ScatterView
简介:
ScatterView是一个布局控件,允许对其内部的子控件进行鼠标拖拽、扔出等操作。
项目地址:http://scatterview.codeplex.com/
使用:
在这里 下载DlLL文件,其中包含两个文件:agTweener.dll 、ScatterView.dll。ScatterView.dll是主文件agTweener.dll 是用来做动画效果的,之前 有对他的介绍。下载了文件后在Silverlight项目中添加引用。
在page.xaml的头部添加代码
xmlns:ScatterView="clr-namespace:ScatterView;assembly=ScatterView"
把ScatterView控件放入page中
<scatterview:scatterview margin="5,5,5,5" horizontalalignment="Stretch" x:name="xScatterView">
</scatterview:scatterview>
在后台添加子控件
这里说明一下,第一个参数是真正要添加的子控件,第二个参数是子控件的阴影,如果没有,用null代替。
xScatterView.AddChild(UIElement1 , UIElement2 );
Demo:
这里我做了一个使用的小demo,可根据google ID从http://picasaweb.google.com 获取相册数据并将获取到的照片缩略图放入ScatterView容器控件中。右下角的GetTarot按钮是内置的一套塔罗牌。
http://www.grmcac.com/silverlight/lab/ScatterView/
demo全部源代码下载:http://scatterview.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=24169
预览:
发表评论
-
silvelright酷站
2011-03-22 18:47 775http://completit.com/# -
silverlight翻转代码
2011-03-13 18:46 1073using System; using System.Net ... -
silverlight独立存储示例
2011-03-07 17:17 1019void CreateDir(string dirNam ... -
silverlight SDK和toolit中控件英文如何转换为英文
2010-11-11 15:50 960解决方法: 设置 ... -
Silverlight4:网络地图服务
2010-10-16 11:01 1530Bing Maps与Google Earth一样 ... -
通过JS创建silverlight对象
2010-10-12 13:04 1601前言: 对于我们开发的silverlight应用来讲,有的时 ... -
silverlight childwindow源码
2010-09-18 21:17 1936<!-- // (c) Copyright Micro ... -
MEF程序设计指南五:迟延(Lazy)加载导出部件(Export Part)与元数据(Metadata)
2010-08-12 10:34 898本文章非原创,转载自: 作 者:Beniao 文 ... -
MEF程序设计指南四:使用MEF声明导出(Exports)与导入(Imports)
2010-08-12 10:03 571本文章非原创,转载自: 作 者:Beniao 文 ... -
MEF程序设计指南三:MEF中组合部件(Composable Parts)与契约(Contracts)的基本应用
2010-08-12 09:52 507本文章非原创,转载自: 作 者:Beniao 文 ... -
MEF程序设计指南二:Silverlight中使用CompositionInitializer宿主MEF
2010-08-12 09:24 823本系列文章非原创,转载自: 作 者:Beniao ... -
MEF程序设计指南一:在应用程序中宿主MEF
2010-08-12 09:17 986本系列文章非原创,转 ... -
silverlight应用程序库缓存
2010-08-10 14:22 1468应用程序库缓存可在用户重新访问网站时帮助改善启动性能。 ... -
Prism动态模块加载
2010-08-10 10:27 1548这篇介绍模块在silverlight的特殊应用. sil ... -
Silverlight中Json数据的转换方法(中文)
2010-08-04 11:36 1207[DataContract] public clas ... -
silverlight万花筒效果
2010-07-28 16:14 835见附件。 -
silverlight如何将颜色字符串转换为颜色
2010-07-02 10:42 1502public class ColorUtil { ... -
silverlight中Tab转Enter的实现方法
2010-06-04 17:38 1696silverlight项目中要求界面全键盘操作,并且在光标移动 ... -
在两个Silverlight应用间数据通信(包括与Flash通信)
2010-05-13 17:06 973声明:该博文转载自:http://daizhj.blog.51 ... -
silverlight和js相互调用
2010-05-13 16:56 1629步骤一:在silverlight后台代码类中声明被js调用的方 ...
相关推荐
Silverlight商业网站开源项目,项目使用Silverlight特性制作商业网站,体现RIA应用的强大和绚丽。 项目为开源项目,可以随意修改和传播。 在线演示地址:...
Silverlight开源素材大全Part2,收集了大量网络开源Silverlight代码素材,学习Silverlight开发必备。
silverlight 开源框架,学习分享
Silverlight开源素材大全Part1,收集了大量网络开源Silverlight代码素材,学习Silverlight开发必备。
Silverlight开源代码素材part3,收集了大量开源的Silverlight代码素材,学习Silverlight开发必备。
VS2012 + Framework4.5 + Silverlight5 写的全开源工作流设计器,里面是个完整的开源项目。
Silverlight 5房屋3D设计开源项目
Silverlight PDF Library是一款开源Silverlight处理PDF文档项目,该项目会自动生成PDF文件,包含不同内容。
这是一款免费开源的Silverlight相册项目,可以根据需求修改项目代码 PhotoBrowser功能 相册中的照片显示,与大小和衡量。 保存到本地硬盘。 幻灯片 标签的照片和相册。 与大小上传照片。用户可以在一个步骤上载...
这是一款免费开源的Silverlight相册项目,可以根据需求修改项目代码 PhotoBrowser功能 相册中的照片显示,与大小和衡量。 保存到本地硬盘。 幻灯片 标签的照片和相册。 与大小上传照片。用户可以在一个...
自己做的一个开源小控件,主要用于Silverlight的MDI应用开发。
silverlight项目在windows server 2003/2008发布步骤,需要的请下载
【开源项目】Silverlight工作流设计器.docx
Silverlight商业开源网站模板,项目使用Silverlight体现RIA网站的强大和绚丽。 项目包含PSD和字体文件,开源项目,可以随意修改和传播。 在线演示:...
详细介绍Silverlight 项目在多种不同的服务器中部署方法详解
该文档详细介绍了silverLight项目创建方法的关键流程,一定不会让你后悔
silverlight取色器 开源代码
Silverlight 开源上传下载组件,在GitHub上有Demo及源代码。
EasySL(修改版)是国人编写的优秀Silverlight项目,项目属于开源代码,供大家学习使用。 在EasySL中的Silverlight的数据请求需要架设wcf、webservice或者webclient,而且中间数据需要序列化和反序列化,或者自己用...