• Enrique

    What do you think about Funk AS3 IoC?
    http://code.google.com/p/funk-as3/wiki/IoC (is not metadata but they claims that is an advantage in performance…)

  • http://shaun.boyblack.co.za/blog/ shaun

    It’s cool, but it does not perform Dependency Injection (nor does it claim to), and does not enable one to “write code that is decoupled from any particular framework” – it uses the Service Locator pattern to “fetch” dependencies and is coupled to Funk-as3.

  • Johannes Hodde

    Hey,

    I am currently developing a project on top of RobotLegs.
    As much as I like the DI-solution via the [Inject] tags, I dislike the fact, that clients get mutable by having the injectable vars beeing public.
    Is there any way to use implicit setters?

  • http://shaun.boyblack.co.za/blog/ shaun

    Hello,

    Sure, just put [Inject] above your setter. Or, use constructor injection – posted some thoughts on that here: http://shaun.boyblack.co.za/blog/2009/05/01/constructor-injection-vs-setter-injection/