All Projects → justinjmoses → mediate-behaviours-example

justinjmoses / mediate-behaviours-example

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

Programming Languages

actionscript
884 projects

#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.

##Third party dependencies

##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
    
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].