Archive

Posts Tagged ‘dependency injection’

RobotLegs AS3: GitHub Wiki Updated

June 23rd, 2009 shaun View Comments

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

RobotLegs AS3: System/Context Event Flow

May 2nd, 2009 shaun View Comments

RobotLegs AS3 is a Dependency Injection Driven MVCS Framework for Flash and Flex inspired by PureMVC.

RobotLegs AS3 Event Flow

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. Read more…

Constructor Injection vs Setter Injection

May 1st, 2009 shaun View Comments

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…

Another Architectural Framework, But Why?

April 29th, 2009 shaun View Comments

robotlegssketchsmall

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 v0.2: ReversiblePants

April 22nd, 2009 shaun View Comments

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…

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

April 16th, 2009 shaun View Comments

RobotLegs AS3Want 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…

AS3 Dependency Injection Framework SmartyPantsIOC – Released!

April 14th, 2009 shaun View Comments

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/

SmartyPantsIOC

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!