tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/650-the-idea-behind-robotlegsRobotlegs: Discussion 2018-10-18T16:35:31Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/97686792011-09-06T10:13:07Z2011-09-06T10:13:07ZThe Idea Behind RobotLegs<div><p>Hi Fox,</p>
<p>It sounds like you maybe need to read up a little on the "Single
Responsibility Principle"?</p>
<p>There are 3 reasons why we have mediators in Robotlegs:</p>
<p>1) It means that they view doesn't need to know anything about
the application it is sitting in. (Less knowledge is a good
thing).</p>
<p>2) As a consequence, you can reuse the same view in totally
different applications (with different application events), simply
by changing the mediator.</p>
<p>3) It allows the view to be attached and reattached from the
application when it lands on and leaves the stage, so that it can
persist without getting in the way.</p>
<p>Stray</p></div>Straytag:robotlegs.tenderapp.com,2009-10-18:Comment/97686792011-09-06T10:24:43Z2011-10-31T17:09:04ZThe Idea Behind RobotLegs<div><p>Thank you for you ultra fast reply!<br>
I am going to read about that "Single Responsibility Principle"
thanks for the hint.</p>
<p>I just started with Microarchitectures, I am quite at the
beginning.<br>
Before I just used Singletons.</p>
<p>Here is my first RobotLegs test application, it is a guestbook
with "fake" service:<br>
<a href=
"http://www.wensauer.info/flex/RobotLegs_Guestbook/">http://www.wensauer.info/flex/RobotLegs_Guestbook/</a>
(view source)</p>
<p>If you like, have a look on the code and tell me if i understodd
anything correct :)</p>
<p>Regards Fox</p></div>Foxtag:robotlegs.tenderapp.com,2009-10-18:Comment/97686792011-09-06T10:25:47Z2011-10-12T10:16:57ZThe Idea Behind RobotLegs<div><p>Thank you for you ultra fast reply!<br>
I am going to read about that "Single Responsibility Principle"
thanks for the hint.</p>
<p>I just started with Microarchitectures, I am quite at the
beginning.<br>
Before I just used Singletons.</p>
<p>Here is my first RobotLegs test application, it is a guestbook
with "fake" service:<br>
<a href=
"http://www.wensauer.info/flex/RobotLegs_Guestbook/">http://www.wensauer.info/flex/RobotLegs_Guestbook/</a>
(view source)</p>
<p>If you like, have a look on the code and tell me if i understodd
anything correct :)</p>
<p>Regards Fox</p></div>fox