Constructor injection is theoretically superior:
Constructor Injection vs Setter Injection
Constructor vs Setter Injection – Constructor is Better
Setter injection versus constructor injection and the use of required
Before I built RobotLegs I was sold on constructor injection. My prototype, however, used SmartyPants-IOC which lacked constructor injection, so I bit my lip and used setter injection. In practice I found that often, especially with framework actors, it was incredibly convenient. Read more…

The State Of The Game
There are some great Flash and Flex application frameworks out there right now. Mate, Swiz and PureMVC (update: and Parsley!) stand out. The authors of these frameworks realized that the Flash Platform is different enough to the JVM to warrant a fresh approach to application design.
Read more…
RobotLegs AS3 is a Dependency Injection Driven MVCS Framework for Flash and Flex inspired by PureMVC.
RobotLegs AS3 v0.2 (codename ReversiblePants) is up on GitHub:
Now with DI/IOC and Reflection adapters instead of direct dependencies on the SmartyPants-IOC framework. By providing your own adapters you can run RobotLegs off a DI/IOC/Reflection framework of your choosing. Read more…
Want a framework like PureMVC but without Singletons, Service Locators, or casting? Perhaps one with Dependency Injection and Automatic Mediator Registration?
Well, you might enjoy RobotLegs AS3: yet another lightweight micro-architecture for Rich Internet Applications.
Read more…
Categories: Code, Resources, Robotlegs Tags: actionscript, architecture, as3, dependency injection, flash, flex, mvcs, puremvc, Robotlegs, smartypants-ioc
Great news: SmartyPantsIOC, a Dependency Injection framework for Flash and Flex has been released. Check it out here:
http://code.google.com/p/smartypants-ioc/

I guess that means that it’s time for me to release RobotLegs – an MVCS micro-architecture for Rich Internet Applications inspired by PureMVC, Mate and Swiz! But first, I have to write a little demo application for it.. coming soon!
Warning: This is long and probably VERY boring.. unless you are an AS3 junkie, and you’re interested in so called “lightweight micro-architectural frameworks” for Flash and Flex.
A couple of weeks ago I played around with Mate and Swiz. I already knew a little about Dependency Injection (in theory anyway), but playing with those two frameworks really drove the point home: applications are potentially MUCH easier to write, and much more flexible, when you take advantage of Dependency Injection. Read more…
Categories: Banter, Pijin, Robotlegs Tags: actionscript, architecture, as3, flash, flex, mate, puremvc, Robotlegs, smartypants-ioc, spring, swiz
February 24th, 2009
shaun
For the most part, Pijin development has been going pretty well. Maciek came down from London in December and we managed to come up with solutions for most of the tough conceptual challenges that were worrying us. Read more…
Categories: Pijin Tags: actionscript, as3, flash, flex, mate, milestones, Pijin, puremvc, Robotlegs, smartypants-ioc, swiz