Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jjgonecrypto/mediate-behaviours-example

A look at the Robotlegs Variance Utility and how it leverages Robotlegs to provide meditation against contracts, rather than concrete classes.
https://github.com/jjgonecrypto/mediate-behaviours-example

Last synced: 14 days ago
JSON representation

A look at the Robotlegs Variance Utility and how it leverages Robotlegs to provide meditation against contracts, rather than concrete classes.

Awesome Lists containing this project

README

        

#UI mediation sucks. Mediate behaviours, not views.

This example is an overview of using the Robotlegs Variance Utility to provide mediation against interfaces (behaviours), rather than concrete classes.

[Check out the blog post](http://justinjmoses.wordpress.com/2011/08/07/ui-mediation-sucks-mediate-behaviours-not-views/).

##Third party dependencies
* [Robotlegs v1.5.2](https://github.com/robotlegs/robotlegs-framework/)
* [Robotlegs Variance Utility v1.1](https://github.com/dnalot/robotlegs-utilities-variance)
* [As3-Signals v0.8](https://github.com/robertpenner/as3-signals)

##Usage instructions
In Flashbuilder or IntelliJ, create a new project from the cloned source, and add the 3 SWC dependencies.

##Build instructions
To build on your machine via Maven. Follow these steps:

1. Ensure Maven 3.0.3 + is installed

2. Install local dependencies (add them to your local repository)

mvn install:install-file -Dfile=libs/robotlegs-framework-1.5.2.swc -DgroupId=org.robotlegs -DartifactId=robotlegs-framework -Dversion=1.5.2 -Dpackaging=swc

mvn install:install-file -Dfile=libs/robotlegs-utilities-variance-1.1.swc -DgroupId=org.robotlegs -DartifactId=robotlegs-utilities-variance -Dversion=1.1 -Dpackaging=swc

mvn install:install-file -Dfile=libs/as3-signals-0.9-BETA.swc -DgroupId=org.osflash -DartifactId=as3-signals -Dversion=0.9-BETA -Dpackaging=swc

3. Build

mvn clean install