tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/792-examples-of-desktop-app-for-adobe-air-newbieRobotlegs: Discussion 2012-02-02T11:10:02Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/129024712012-01-14T10:21:38Z2012-01-14T10:21:38Zexamples of desktop app for Adobe AIR newbie<div><p>Hi</p>
<blockquote>
<p>this is a repost of another discussion. for some reason the
discussion was not showing up in my account hence the repost.</p>
</blockquote>
<p>Your mail got stuck in the forum’s spam filter, as it
happens with other posts as well from time to time, for some
reason. I restored your post (first thing I did after I woke up
this morning)<br>
Sorry for the inconvenience:)</p>
<p>As soon as I get the time I’ll answer your questions in
more detail, but for now the short answer:<br>
You can use robotlegs with any version of Flex.</p>
<p>Examples are here:<br>
<a href=
"https://github.com/robotlegs/robotlegs-demos-Bundle">https://github.com/robotlegs/robotlegs-demos-Bundle</a></p>
<p>and here:</p>
<p><a href=
"http://knowledge.robotlegs.org/discussions/examples/6-links-to-robotlegs-resources-examples-tutorials">
http://knowledge.robotlegs.org/discussions/examples/6-links-to-robo...</a></p>
<p>I can’t tell you right now which ones are AIR specific,
but in fact any Flex example can be converted to AIR ( more about
this later)</p>
<p>Until later:)<br>
Ondina</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/129024712012-01-14T10:38:52Z2012-01-14T10:38:52Zexamples of desktop app for Adobe AIR newbie<div><p>..of course, other opinions are welcome as well!!</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/129024712012-01-14T11:30:42Z2012-01-14T11:35:56Zexamples of desktop app for Adobe AIR newbie<div><p>Thank you Ondina.</p>
<p>This is what I understand so far.</p>
<p>Flash and AIR are runtime environment.</p>
<p>The Flash runtime is for web app.<br>
AIR runtime is for desktop or mobile app.</p>
<p>Flex is the Adobe framework to develop desktop, mobile or web
app.</p>
<p>In Flex, there are 2 ways to build an app.</p>
<p>1) HTML + CSS + Javascript<br>
2) ActionScript</p>
<p>as far as I can see RobotLegs is the 2nd way.</p>
<p>The examples i see in the bundle appear to be meant for just web
app.</p>
<p>Of course, possibly because we are using Flex, any webapp code
can be coverted into a desktop app.</p>
<p>Having done plenty of web programming, i know that the devil is
in the details.</p>
<p>Would be great if I can have just 1 simple example of a desktop
app rather than a webapp that I would have to then convert.</p>
<p>My questions are:</p>
<p>1) a straight forward example of a desktop app that runs in
windows AND mac osx built on RobotLegs</p>
<p>if not, then can you guide me as to how to convert the Flickr
App to a desktop version?</p>
<p>2) so far are there any gaps or mistakes of my understanding of
Adobe environment?</p>
<p>3) the oreilly book on robotlegs... does it have good
information on desktop app for me to build?</p>
<p>Thank you.</p></div>kimcitytag:robotlegs.tenderapp.com,2009-10-18:Comment/129024712012-01-14T12:03:35Z2012-01-14T12:03:35Zexamples of desktop app for Adobe AIR newbie<div><p>I’ll do the best I can to give you an answer to all your
questions within the next few hours, at the latest by the end of
the day. o.k.? :)</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/129024712012-01-14T12:19:51Z2012-01-14T12:19:52Zexamples of desktop app for Adobe AIR newbie<div><p>Sure.</p>
<p>Thank you, Ondina :)</p></div>kimcitytag:robotlegs.tenderapp.com,2009-10-18:Comment/129024712012-01-14T16:23:50Z2012-01-14T17:22:43Zexamples of desktop app for Adobe AIR newbie<div><blockquote>
<p>new to Adobe Flex and AIR. I know web programming, PHP, MySQL,
jQuery, Javascript. I don't mind learning Actionscript and
Flex.</p>
</blockquote>
<p>Usually, such a statement would trigger a reaction like
this:<br>
“This is a support forum for Robotlegs. Questions about
getting started with as3, Flex, AIR are off topic.”<br>
However, many members of our (great) community are willing to help
each other even with issues that are beyond the scope of the
framework. But you have to be aware of the fact that not all such
questions can or will be answered. I had to say that, because I
don’t want to raise false hopes :)</p>
<p>Another common reaction to a situation like yours, is to say
“Learn AS3 and Flex first.”<br>
In my opinion learning as3+Flex+ [architecture guidelines, best
practices (design patterns, tests), and a good micro-architecture
framework] concomitantly, is actually the best way to go about a
new language or development platform. When I started learning Flex,
none of the examples available were using a micro-architecture
framework, and that wasn’t beneficial at all.</p>
<p>I have a feeling that you are familiar with design patterns
already (from js or php), so, I think, it won’t be that
difficult for you to understand robotlegs’ MVC(S).</p>
<p>I’ll provide links to the documentation at the end of the
post.</p>
<blockquote>
<p>does RobotLegs allow me to use Flash Builder 4.6 Standard to
build a desktop application?</p>
</blockquote>
<p>Yes.</p>
<blockquote>
<p>In Flex, there are 2 ways to build an app. 1) HTML + CSS +
Javascript<br>
2) ActionScript<br>
as far as I can see RobotLegs is the 2nd way.</p>
</blockquote>
<p>Yes, Robotlegs is for as3 only.</p>
<blockquote>
<p>a straight forward example of a desktop app that runs in windows
AND mac osx built on RobotLegs</p>
</blockquote>
<p>There are some AIR applications among the 170 listed (see link
from previous post). Search for AIR and you’ll find them.</p>
<blockquote>
<p>if not, then can you guide me as to how to convert the Flickr
App to a desktop version?</p>
</blockquote>
<p>You can let FlashBuilder convert a Flex application to AIR:</p>
<p>-In the Package Explorer right click on the Project</p>
<p>-choose Add/Change Project type from the context menu</p>
<p>-choose Convert to Flex Desktop Project (runs in AIR)</p>
<p>Let me know how it goes.<br>
In case FlashBuilder doesn’t play nice with your project:
<a href=
"http://knowledge.robotlegs.org/discussions/solutions/13-some-flashbuilder-issues-and-some-solutions">
http://knowledge.robotlegs.org/discussions/solutions/13-some-flashb...</a></p>
<blockquote>
<p>so far are there any gaps or mistakes of my understanding of
Adobe environment?</p>
</blockquote>
<p>You are on the right track.</p>
<blockquote>
<p>the oreilly book on robotlegs... does it have good information
on desktop app for me to build? Joel’s example is an AIR
application (Flex4+ )</p>
</blockquote>
<p>There is nothing specific to building an AIR app in the
book.</p>
<p>From the book:<br>
“This book is not for developers who are brand new to
object-oriented programming.<br>
It assumes some understanding of classes, interfaces and
inheritance as implemented<br>
in AS3. It is not a quick reference guide to the Robotlegs
API”</p>
<p>Nevertheless, I encourage you to read it.<br>
I also encourage you to read <strong>all</strong> the documentation
available about robotlegs and to look at as many examples as
possible.<br>
Play around with the demos and examples, even if they aren't AIR
apps!!!<br>
Take your time with them. Watch presentations and videos (see the
170 list)<br>
Read as many discussions on this forum as you can.<br>
Even if you won’t understand much at first, it will give you
an idea of how things are supposed to work. Don’t get
discouraged after a few days of trying! I know, you are eager to
get started as soon as possible, but [ ] <- fill in the blank
with your preferred saying about patience :)</p>
<p>The promised links (I’m sure you’ve seen some of
them already):</p>
<p>-Best Practices:</p>
<p><a href=
"https://github.com/robotlegs/robotlegs-framework/wiki/Best-Practices">
https://github.com/robotlegs/robotlegs-framework/wiki/Best-Practices</a></p>
<p>-Common Problems:</p>
<p><a href=
"https://github.com/robotlegs/robotlegs-framework/wiki/Common-Problems">
https://github.com/robotlegs/robotlegs-framework/wiki/Common-Problems</a></p>
<p>-Examples - source code</p>
<p><a href=
"https://github.com/robotlegs/robotlegs-demos-Bundle">https://github.com/robotlegs/robotlegs-demos-Bundle</a></p>
<p>-Live demos:</p>
<p><a href=
"http://www.robotlegs.org/examples/">http://www.robotlegs.org/examples/</a></p>
<p>-Joel’s tutorials (An Introduction to Robotlegs AS3 Part
1, 2,3) and other rl examples:</p>
<p><a href=
"http://joelhooks.com/2011/03/12/an-introduction-to-robotlegs-as3-part-1-context-and-mediators/">
http://joelhooks.com/2011/03/12/an-introduction-to-robotlegs-as3-pa...</a></p>
<p><a href="http://joelhooks.com">http://joelhooks.com</a></p>
<p>Hopefully, your questions have been answered, so far:)</p>
<p>Have fun!<br>
Ondina</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/129024712012-01-14T16:34:16Z2012-01-14T16:34:16Zexamples of desktop app for Adobe AIR newbie<div><p>This is an excellent, excellent answer.</p>
<p>you have comprehensively answered all my questions thus far.</p>
<p>I have a very good feeling in choosing RobotLegs given that you
emphasized on unit testing and this prompt and complete support for
a free framework.</p>
<p>Thank you very much, Ondina!</p></div>kimcitytag:robotlegs.tenderapp.com,2009-10-18:Comment/129024712012-01-14T17:01:59Z2012-01-14T17:01:59Zexamples of desktop app for Adobe AIR newbie<div><p>Thank you for the kind words:)<br>
I’m really glad it was helpful to you!</p>
<p>Oh, and concerning robotlegs: the more you'll use Robotlegs, the
more you'll like it. There is no way around it ;)</p>
<p>Cheers<br>
Ondina</p></div>Ondina D.F.