Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Compact library to support the use of hierarchical (modular) Contexts with the Robotlegs AS3 micro-architecture.

branch: master

This branch is 0 commits ahead and 0 commits behind master

Merge pull request #3 from DamienLaurent/master

Fix about memory issue that causes multiple mediator instanciations for a unique view.
latest commit 62c70f9784
Joel Hooks authored June 07, 2012
Octocat-spinner-32 build Support for ApplicationDomains in loaded modules. May 09, 2010
Octocat-spinner-32 src
Octocat-spinner-32 src_test
Octocat-spinner-32 .gitignore Made some handy ant build files. May 02, 2010
Octocat-spinner-32 LICENSE Modular cleaned up December 07, 2009
Octocat-spinner-32 README.textile
Octocat-spinner-32 build.properties
Octocat-spinner-32 build.xml
README.textile

Some helper classes for building modular apps with RobotLegs.

Usage

Modules should implement IModule which provides a setter for an IInjector as well as a dispose method for cleanup.

Each module requires a context, which should extend ModuleContext. This context should be instantiated when the module is provided with an injector. The ModuleContext uses the injector to provide the module with a child injector that maintains the mappings of the provided injector.

The IModuleCommandMap and IModuleEventDispatcher work together to provide the modules with a shared event/command bus for inter-module events to take place. Each module has an individual ModuleCommandMap, but unlike the normal CommandMap this triggers module level commands in response to mapped events that occur over the shared IModuleEventDispatcher.

Here is an example of using this library

Please see the RobotLegs framework for more info.

These classes were compiled to work with RobotLegs v1.1.0.

Something went wrong with that request. Please try again.