Robotlegs for Silverlight alpha

Robotlegs for Silverlight logo more than inspired by the official robotlegs for ActionScript 3.0 logo

I'm working on a port of Robotlegs for Silverlight in background on my spare time since February. As I'm on a Silverlight and C# learning track, I found this would be a great way to practice C# and Silverlight when it also could help the Robotlegs community.

My goal with this post is to give an insight of the project to people who asked me which is its status and real value and if it have chances to reach a final version.

This alpha contains Robotlegs for Silverlight library sources and its Unit Test project. You can launch the Unit Test runner here in live.

I'm currently working on an HelloSilverlight demo which is basically the port of the HelloFlex demo of Robotlegs for ActionScript 3.0. As it's the first real implementation of the framework outside simply passing Unit Tests, it shows that some serious changes and decisions will have to be made before a second alpha in which the demo have to be included.

The project is developed with Microsoft Visual Web Developer 2010 Express Edition so it guarantees that anybody can work on it with a free Visual Studio license. Visual Web Developer allows only to target Silverlight, but the project could easily be imported in Visual C# 2010 Express or Visual Studio 2010 to target WPF applications.

Continue reading Robotlegs for Silverlight alpha

Custom metadata tags in Silverlight as in Robotlegs

Identifying a debug or release SWF file at runtime example screenshot

Today, I chosen to take the time to have a deeper look into Robotlegs micro-architecture, an ActionScript project initiated by Shaun Smith and Joel Hooks. From what I tested and as Robotlegs supports MVC, is inspired by PureMVC and that it is really well thought by its author, I'm convinced that it is a good project to look into during my spare time.

As you may know Robotlegs uses Dependency Injection. And it also uses Dependency Injection using metadata tags. In Robotlegs this is done with SwiftSuspenders a lightweight Dependency Injection library for ActionScript developed and maintained by Till Schneidereit. This means that when you want Robotlegs to automatically inject a dependency at runtime you just have to write something like :

public class MyClass
    public var userProxy:UserProxy;

Continue reading Custom metadata tags in Silverlight as in Robotlegs