Tag Archives: dependency injection

Too Much Of A Good Thing

As an enthusiastic programmer I tend to get overly excited when I discover a new technique – nails, nails everywhere for my shiny new hammer! It’s not a bad thing. I’ll abuse my newfound technique until I fully understand where it is and isn’t appropriate. Sometimes this takes a while. 

Posted in Banter, Code, Robotlegs | Tagged , | Leave a comment

Robotlegs 2.0

I’m super excited to be meeting with Stray, Till and Robert (sadly, Joel can’t make it) in a couple of weeks to discuss Robotlegs 2.0. We decided to keep the initial meetup small and focused, but development of the framework itself is completely open and anyone is free to contribute once we’ve nailed down some core priorities. More info over on the Robotlegs forums: http://knowledge.robotlegs.org/discussions/feedback/20-robotlegs-20-how-to-get-involved

Posted in Robotlegs | Tagged , , , , , | Leave a comment

RobotLegs AS3: GitHub Wiki Updated

I’ve added a little page to the RobotLegs Wiki: RobotLegs Overview

Posted in Robotlegs | Tagged , , , , , , | Leave a comment

RobotLegs AS3: System/Context Event Flow

RobotLegs AS3 is a Dependency Injection Driven MVCS Framework for Flash and Flex inspired by PureMVC. Actors may be dependent on actors below them in the diagram, but should not be dependent on anything above them. Commands, Services and Proxies may dispatch system events, but should never listen for them. Mediators may both dispatch and listen for system events.

Posted in Banter, Robotlegs | Tagged , , , , , | 1 Comment

Constructor Injection vs Setter Injection

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.

Posted in Banter, Robotlegs | Tagged , , , , , , , | 12 Comments

Another Architectural Framework, But Why?

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.

Posted in Banter, Code, Robotlegs | Tagged , , , , , , , , | 39 Comments

RobotLegs AS3 v0.2: ReversiblePants

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.

Posted in Robotlegs | Tagged , , , , , , | 11 Comments

RobotLegs AS3: A DI Driven MVCS Framework for Flash & Flex – Inspired by PureMVC

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.

Posted in Code, Resources, Robotlegs | Tagged , , , , , , , , , | 37 Comments

AS3 Dependency Injection Framework SmartyPantsIOC – Released!

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!

Posted in Banter, Resources | Tagged , , , , , , | 10 Comments