tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/864-rl-and-mobile-application-developmentRobotlegs: Discussion 2012-04-04T15:43:34Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/149321742012-04-01T01:22:41Z2012-04-01T01:22:42ZRL and mobile application development<div><p>Hi all -</p>
<p>This is my first post to the RL support forums. I have been
developing in Flex 4 and AS3 for about a year and a half. I've been
using RL for more than a year in a single application context
manner. It's a fantastic framework and I'm eager to work with
RL2.</p>
<p>I am completely new to mobile application development in
general, and I ran across an article by Jonathan Campos on Adobe
Edge dated March 2011 and titled "Architecting your application for
multiple devices" at <a href=
"http://http://www.adobe.com/newsletters/inspire/march2011/articles/article5/index.html">
http://http://www.adobe.com/newsletters/inspire/march2011/articles/...</a></p>
<p>Jonathan talks about creating mobile application logic (etc) in
a common swc library that different Views for various mobile
devices would then include in their device-specific swf. There is a
graphic that shows the device-specific swf context
extending/inheriting the swc "base" context. Jonathan states to use
events to communicate across the MVCS layers of the app, which
includes the swc "base" context for the command and model
logic.</p>
<p>My questions are:</p>
<p>(1) Does this "base" context in the swc and the context of the
swf require Joel's modular RL utility? If so, can anyone please
provide some code examples how to set this up since the swc and the
device-specific swfs are NOT modules. (There are plenty of examples
on-line for actual modules and the shell application.)</p>
<p>(2) If <a href="/discussions/questions/1" title=
"Discussion #1">#1</a> is "NO" to the modular utility, can someone
please give examples of how to configure and communicate between
the context of the swc and the context of the swf.</p>
<p>This is my first real venture into using / needing multiple RL
contexts. And my first dive into mobile app development. Any help
would be greatly appreciated.</p>
<p>Thanks!</p>
<p>-Steve</p></div>Stevetag:robotlegs.tenderapp.com,2009-10-18:Comment/149321742012-04-02T09:23:54Z2012-04-02T09:23:54ZRL and mobile application development<div><p>Hey Steve,</p>
<p>take a look at Jonathan Campos’ Code for his book Flex
Mobile In Action:<br>
<a href=
"https://github.com/jonbcampos/Flex-Mobile-In-Action">https://github.com/jonbcampos/Flex-Mobile-In-Action</a>
(lots of good stuff there!)</p>
<p><a href=
"https://github.com/jonbcampos/Flex-Mobile-In-Action/blob/0b09570fc2c08135e00459783230702adab208c9/RottenTomatoesLibrary-Chap11/src/com/unitedmindset/RottenTomatoesBaseContext.as">
Library Project:</a> RottenTomatoesBaseContext<br></p>
<p><a href=
"https://github.com/jonbcampos/Flex-Mobile-In-Action/blob/0b09570fc2c08135e00459783230702adab208c9/RottenTomatoesIOS-Chap11/src/com/unitedmindset/RottenTomatoesContext.as">
Mobile App</a>: RottenTomatoesContext</p>
<p>You can see how he uses a BaseContext:<br>
RottenTomatoesContext extends RottenTomatoesBaseContext</p>
<p>HTH<br>
Ondina</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/149321742012-04-03T00:45:28Z2012-04-03T00:45:29ZRL and mobile application development<div><p>Hi Ondina -</p>
<p>Thanks very much for these links. They appear to be exactly the
reference I need! I'm looking forward to Jonathan's book.</p>
<p>I'm a huge RL fan. Can't imagine doing a Flex / AS3 app without
it.</p>
<p>-Steve</p></div>Stevetag:robotlegs.tenderapp.com,2009-10-18:Comment/149321742012-04-04T15:43:34Z2012-04-04T15:43:34ZRL and mobile application development<div><p>You’re welcome, Steve!</p>
<blockquote>
<p>Can't imagine doing a Flex / AS3 app without it.</p>
</blockquote>
<p>Ditto.<br>
Ondina</p></div>Ondina D.F.