tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/599-how-to-follow-robotlegs-events-and-workflowRobotlegs: Discussion 2013-04-28T10:18:26Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/83008952011-06-30T20:16:47Z2011-06-30T20:16:48ZHow to follow robotlegs events and workflow?<div><p>Hi !<br>
Do you have a recommended way for following events and workflow in
robotlegs?</p>
<p>I find myself reading the context to see what commands are
executed when some event is dispatched, and that is the easy part,
finding the mediator that listen an event is more difficult (many
times I end searching for the string event in the file system).</p>
<p>I'm looking for an application that let me design graphically,
with boxes(=[contexts, mediators, commands, models]) and
arrows(=events), the entire project, can you recommend me some
program for this?</p>
<p>Thanks !<br>
Enrique.</p></div>Enriquetag:robotlegs.tenderapp.com,2009-10-18:Comment/83008952011-06-30T20:26:12Z2011-06-30T20:26:12ZHow to follow robotlegs events and workflow?<div><p>Hi Enrique - what IDE are you using, and are you familiar with
using Ruby scripts in your command line?</p>
<p>John Lindquist has a fantastic plugin for IntelliJ that digs in
to this sort of thing, and I have a simple but effective script
that dumps out your event-mediator relationships into your terminal
window (in mac).</p>
<p>Would either of these be helpful?</p>
<p>Stray</p></div>Straytag:robotlegs.tenderapp.com,2009-10-18:Comment/83008952011-06-30T20:45:18Z2011-06-30T20:45:19ZHow to follow robotlegs events and workflow?<div><p>I'm under windows and using Flash Builder :(<br>
I think something like Enterprise Architect should work, but I was
looking for something easier and if it's specific for robotlegs
(with boxes for commands, mediators, etc) much better !<br>
I think that with a graphic of the dispatchers, events and
listeners is very easy to follow the application.</p></div>Enriquetag:robotlegs.tenderapp.com,2009-10-18:Comment/83008952011-06-30T20:49:18Z2011-06-30T20:49:18ZHow to follow robotlegs events and workflow?<div><p>This makes me wonder whether there's any benefit to dumping
mediators in favor of view controlling commands? Or let's call them
shortlived mediators or so.<br>
One benefit would be that the mappings get centralized just as with
other commands.<br>
Probably I'm overseeing some very in-your-face things now.</p></div>creynderstag:robotlegs.tenderapp.com,2009-10-18:Comment/83008952011-06-30T20:50:41Z2011-06-30T20:50:41ZHow to follow robotlegs events and workflow?<div><p>You're definitely right there - we're looking into ways to
support such things in the future.</p></div>Straytag:robotlegs.tenderapp.com,2009-10-18:Comment/83008952011-06-30T20:56:24Z2011-06-30T20:56:24ZHow to follow robotlegs events and workflow?<div><p>Sorry - to be more specific, I was saying Enrique was right.</p>
<p>For creyenders - I think the new Thing() overhead would be a
problem as view responses normally need to be quicker and the view
would have to be injected into the object before the function was
run... but ymmv!</p></div>Straytag:robotlegs.tenderapp.com,2009-10-18:Comment/83008952011-06-30T20:59:52Z2011-06-30T20:59:52ZHow to follow robotlegs events and workflow?<div><p>It's just something I used with one of the gazillion versions of
my JS port I made, in which I basically had an eventMap that
accepted either a class or a function as a handler and based on
that distinction either instantiated the class and called an
execute method or simply called the handler. It worked pretty
smooth, but granted I never really tested it performance-wise.</p></div>creynderstag:robotlegs.tenderapp.com,2009-10-18:Comment/83008952011-06-30T21:21:33Z2011-06-30T21:21:34ZHow to follow robotlegs events and workflow?<div><p>I think it's not so difficult to make an app for this, we could
even use robotlegs to make an AIR app that reads the code in .AS
and MXML files searching for dispatch, dispatchEvent,
addEventListener, addContextListener, addViewListener, and
eventMap.mapListener and draw the flow for us.<br>
I think this design could work fine:<br>
<a href=
"http://www.imagengratis.org/?v=robotlegsflow.jpg">http://www.imagengratis.org/?v=robotlegsflow.jpg</a><br>
(really really sorry for that, I have only paint here :( )</p>
<p>What do you think?</p></div>Enriquetag:robotlegs.tenderapp.com,2009-10-18:Comment/83008952011-07-01T15:10:57Z2011-07-21T14:49:51ZHow to follow robotlegs events and workflow?<div><p>I found these Flex applications for making diagrams, maybe is
possible to adapt them for designing robotlegs diagrams.<br>
<a href=
"http://anotherflexdev.blogspot.com/2009/05/flex-diagramer-library.html">
http://anotherflexdev.blogspot.com/2009/05/flex-diagramer-library.html</a><br>
<a href=
"http://lab.kapit.fr/display/kalileo/Kalileo">http://lab.kapit.fr/display/kalileo/Kalileo</a><br>
<a href=
"http://www.yworks.com/en/products_yfilesflex_about.html">http://www.yworks.com/en/products_yfilesflex_about.html</a></p></div>Enriquetag:robotlegs.tenderapp.com,2009-10-18:Comment/83008952011-07-01T17:28:49Z2011-07-01T17:28:49ZHow to follow robotlegs events and workflow?<div><p>Do you know some utility like this but for robotlegs?<br>
<a href=
"http://lab.kapit.fr/display/puremvcconsole/PureMVC+Console">http://lab.kapit.fr/display/puremvcconsole/PureMVC+Console</a><br>
If I understand it well I think it helps to understand even an
unknown PureMVC application.</p></div>Enriquetag:robotlegs.tenderapp.com,2009-10-18:Comment/83008952011-11-02T17:40:21Z2011-11-02T17:40:21ZHow to follow robotlegs events and workflow?<div><p>Enrique,<br>
Feel free to reopen this discussion in case you have more questions
or you need further assistance with this issue. Please open new
threads for new issues.<br>
Thank you for posting<br>
Ondina</p></div>Ondina D.F.