robotlegs

http://www.robotlegs.org/

Robotlegs is a pure AS3 micro-architecture (framework) with a light footprint and limited scope. Simply put, Robotlegs is there to help you wire your objects together. It provides the glue that your application needs to easily function in a decoupled way. Through the use of automated metadata based dependency injection Robotlegs removes boilerplate code in an application. By promoting loose coupling and avoiding the use of Singletons and statics in the framework Robotlegs can help you write code that is highlytestable.

运用依赖注入在MVC框架下,实现了依赖自动化,确实很方便。

中文教程:https://github.com/robotlegs/robotlegs-documentation/blob/master/best-practices-zh-cn.textile

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注