Questions tagged [robotlegs]

Robotlegs is a tiny framework for building Actionscript 3 (Flash and/or Flex) applications

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 highly testable.

http://robotlegs.org

79 questions
4
votes
3 answers

AS3 Robot legs and Signals - Using Signals, Quite verbose, any alternatives?

Im using RobotLegs and Signals for my application. This is my first time using Robotlegs, and Im using Joel Hooks Signal Command Map example here I've noticed that it seems quite verbose in contrast to events. For every Signal I have to create a…
serenskye
  • 3,467
  • 5
  • 35
  • 51
3
votes
1 answer

Need some clarifications on the Model side of MVC

I guess I would need some really good explanation on some Model related concepts. In general does the model, as described by frameworks like Robotlegs play the role of an application state holder, or a domain state holder? I originally thought that…
user802232
  • 2,541
  • 7
  • 34
  • 40
3
votes
1 answer

How do I test services with cookie based sessions in Flex/AS3

First time posting here. Thanks for taking the time to review the issue. As the title indicates the question is in regards to the service layer of a flex application. Specifically in a test case class. To call the services the user must first…
Sean Moore
  • 31
  • 2
3
votes
1 answer

populating and accessing data from a value object

I have have a problem loading and accessing data from a value object in my new project.. I load an xml file via a service, which contains title and locations of asset files, I need to be able to access the location of an asset file by specifying the…
martin
  • 55
  • 1
  • 7
3
votes
4 answers

Robotlegs Vs Parsley

I am planning to start a new project in as3 and I want Dependency Injection in the project. I found that parsley and Robotlegs are two popular frameworks for implementing DI in AS3. Which is the best one among these two? My main requirements…
3
votes
1 answer

WHY does Context become a GCRoot?

I appreciate Robotlegs very much, but recently a GC problem came to me. I failed to dispose context object by just set the reference null.With the help of FB profile tool, I find that context object appears to be a "GC Root". To figure it out, I…
3
votes
1 answer

Understanding backbone.geppetto

Some questions about backbone.gepetto plugin I have a layout and some view inside. How to pass view generated event to layout ? Instance view in layout:onRender, pass parentContext to view, and use this.context.dispatchToParent to send message to…
zerkalica
  • 143
  • 2
  • 6
2
votes
1 answer

Dependency Injection Refresh Logic Location

I'm completely new to dependency injection here. If I were building say a twitter client using dependency injection, where should the logic that controls refreshing my stream at a specific interval (say 5 minutes) be housed?
podnov
  • 115
  • 1
  • 7
2
votes
2 answers

MVC approach for JavaScript

I am searching for a decent framework for organizing my Javascript, jQuery assisted code according to MVCS micro-architecture. I did some research on JavaScriptMVC, and though it looks like a robust product, I'm afraid it's a bit of an "overkill"…
webwise
  • 627
  • 10
  • 22
2
votes
2 answers

Flex, RobotLegs: must you mediate all child components of a visual component?

In the examples for RobotLegs, it appears that mediators are used on every button/textArea, rather than on the custom component that contains these children. This would be very time consuming would it not? From Joel Hooks InsideRia Example…
Drenai
  • 11,315
  • 9
  • 48
  • 82
2
votes
1 answer

Signal is never being injected - robotlegs2.0

In app config file I have a Signal/Command mapping signalCommandMap.map(DisconnectUserSignal).toCommand(DisconnectUserCommand); Then, I have two connection classes: public class BaseConnection implements IBaseConnection { // When I am trying to…
inside
  • 3,047
  • 10
  • 49
  • 75
2
votes
2 answers

Duplication of Mediators in Robotlegs AS3 MVCS

I'm using robot legs framework and wondering how mediator.mapView works with multiple instances of the same view. For example, in the following, is a new ItemDisplayMediator created for every ItemDisplay instantiated, or do all ItemDisplay's use the…
typeoneerror
  • 55,990
  • 32
  • 132
  • 223
2
votes
2 answers

Drawbacks of Robotlegs 2 compared with PureMVC

I want to understand what kind of drawbacks has Robotlegs 2 compared with PureMVC. Seems it is more elegant, more convenient and as much powerful as PureMVC. What is the reason PureMVC should live except the legacy codebase? Would it be time in…
Narek
  • 38,779
  • 79
  • 233
  • 389
2
votes
1 answer

How can I inject the same object via different interfaces?

Using Robotlegs 2.0, is it possible to declare a singleton in a context and inject it in multiple classes, where each injection is requesting a different interface? The class to inject: class MyClass implements IFoo, IBar {} Injection site 1: …
Peter Hall
  • 53,120
  • 14
  • 139
  • 204
2
votes
2 answers

RobotLegs Domain logic - where to place it

In Robotlegs does the domain logic needs to be in the Commands(controller) or the Models? Example: lets say i'm building a "Tic Tac Toe" game. i have: GameMadiatore,CellSelectedCommand,BoardModel. After the user clicks on a cell the "GameMadiatore"…
Ilya Gazman
  • 31,250
  • 24
  • 137
  • 216
1
2 3 4 5 6