Brilliant Silverlight open-source project (continuously updating ...)

Source: Internet
Author: User
Brilliant Silverlight open-source project (continuously updating ...)

 

 

  • Silverlight Physical Model

Http://www.codeplex.com/FarseerPhysics

Demo: http://www.farseergames.com/Games/WaterDemo/WaterDemo.aspx

Physics helper is a set of controls in Silverlight. It can help you directly apply the farseer physics physical engine. You can save a lot of time when creating an animation.

The farseer physics engine is an easy to use 2D physics engine designed for Microsoft'sXNaAndSilverlightPlatforms. 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 is a MVC Framework in flex development and is officially supported by Adobe. Now Silverlight has the implementation of the cairngorm framework.

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 wocould be useful to other Silverlight developers.

From: http://www.codeproject.com/KB/silverlight/SilverlightCairngorm.aspx

 

  • Patterns & Practices-Unity

Http://www.codeplex.com/unity

Silverlight is now supported:

What is unity?

Unity is a lightweight, scalable dependency injection container. Unity supports Model-View-Presenter (MVP) pattern for Silverlight development.

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 mechanic is not supported.

  • Silverlight 3D engine: kit3d

Http://www.codeplex.com/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: the 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 archery games are based on the MVC Framework

Http://www.codeplex.com/PowerArrow


Preview address: http://itouchfuture.cn/lab/powerarrow/
The Silverlight technology has gradually matured. Here I used my spare time to make a small game. The operation is very simple. If you press the mouse to pull the bow, then release the arrow.
The game uses the MVC Framework cairngorm http://www.codeplex.com/SilverlightCairngorm for development. All elements are encapsulated into controls and bound to the data at the model layer in two directions. You can simply control the entire game by controlling the model.


Postscript: Thank you very much for your excellent articles from http://www.cnblogs.com/nasa.

  • Scatterview
Introduction:

Scatterview is a layout control that allows you to drag and drop internal child controls, and throw them out.
Address: http://scatterview.codeplex.com/

Usage:

Download the DlLL file here, which contains two files: agtweener. dll
, Scatterview. dll. Scatterview. dll is the main file agtweener. dll
Is used for animation effect, before
Have an introduction to him. After the file is downloaded, add a reference to the Silverlight project.

Add code to the page. XAML Header

Xmlns: scatterview = "CLR-namespace: scatterview; Assembly = scatterview"


Place the scatterview control in the page


<Scatterview: scatterview margin = "5, 5, 5" horizontalalignment = "stretch"
X: Name = "xscatterview">
</Scatterview: scatterview>


Add a child widget in the background

Xscatterview. addchild (uielement1, uielement2 );


The first parameter is the Child control to be added, and the second parameter is the shadow of the Child control. If not, use null instead.

 

Demo:

Here I made a small demo for use, according to Google
Id gets album data from the http://picasaweb.google.com and puts the obtained thumbnail into the scatterview container control. The gettarot button in the lower right corner is a set of built-in tarot cards.
Http://www.grmcac.com/silverlight/lab/ScatterView/

Demo download all source code: http://scatterview.codeplex.com/Release/ProjectReleases.aspx? Releaseid = 24169

Preview:

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.