Robotlegs is a fantastic micro-architecture for ActionScript. One pattern used with Robotlegs is the command pattern. Commands are generally short-lived objects that execute a segment of code in response to an event. By encapsulating code in a command, you can maintain low coupling in your app (the view and the command don’t need to be aware of each other) and reduce duplicate code. See the Robotlegs Best Practices page for more info regarding commands.
You may run into situations where you wish to batch commands. Macrobot simplifies this process and provides two ways to batch commands:
You may run into situations where you wish to batch commands. Macrobot simplifies this process and provides two ways to batch commands:
Your new post is loading...