<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Joel Hooks : Building Blocks - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-5c3b191d" type="application/json"/><link>http://joelhooks.disqus.com/</link><description>Actionscript Developer's Journal</description><atom:link href="http://joelhooks.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 14 May 2012 17:01:03 -0000</lastBuildDate><item><title>Re: Flex Date and Time (datetime) Picker Control</title><link>http://joelhooks.com/2008/10/11/flex-date-and-time-datetime-picker-control/#comment-528809243</link><description>&lt;p&gt;Ey Joel Hooks, I'm sure that you're not good, you are the best!!!! Jajajaja Greetings and Thanks...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Israel Marsilli</dc:creator><pubDate>Mon, 14 May 2012 17:01:03 -0000</pubDate></item><item><title>Re: An Introduction to Robotlegs AS3 Part 3: Services</title><link>http://joelhooks.com/2011/03/12/an-introduction-to-robotlegs-as3-part-3-services/#comment-517029626</link><description>&lt;p&gt;In these tutorials, you used the following two methods for listening for events:&lt;/p&gt;

&lt;p&gt;addViewListener&lt;br&gt;addContextListener&lt;/p&gt;

&lt;p&gt;I was wondering whats the difference between those and the one used in your TwitterClient screencast:&lt;br&gt;eventMap.mapListener&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mutasem Barjawi</dc:creator><pubDate>Wed, 02 May 2012 16:45:28 -0000</pubDate></item><item><title>Re: An Introduction to Robotlegs AS3 Part 3: Services</title><link>http://joelhooks.com/2011/03/12/an-introduction-to-robotlegs-as3-part-3-services/#comment-517020915</link><description>&lt;p&gt;I think you shouldn't move the creation of new Tweet objects outside the loop... otherwise, you'll end up inserting the same object into all the Array cells... which means the same tweet will be repeated in the list.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mutasem Barjawi</dc:creator><pubDate>Wed, 02 May 2012 16:35:06 -0000</pubDate></item><item><title>Re: Robotlegs MVCS: Walkthrough of an AIR Twitter Client</title><link>http://joelhooks.com/2009/11/11/a-walkthrough-of-an-air-twitter-client-using-robotlegs-mvcs/#comment-516975852</link><description>&lt;p&gt;Of course there is. ;)&lt;br&gt;You could create a "component" combining some buttons and elements that are used together, that dispatch certain events or offer a certain API for a Mediator.&lt;/p&gt;

&lt;p&gt;Or you could handle it with a different structure: have a look at "Presentation Patterns" as e.g. described here: &lt;a href="http://blogs.adobe.com/paulw/archives/2007/09/presentation_pa.html" rel="nofollow"&gt;http://blogs.adobe.com/paulw/a...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But you should be aware that, what I know of, robotloegs only brings MVCS as a "reference implementation" with it, which doesn't support e.g. "Presentation Model" as easy.&lt;/p&gt;

&lt;p&gt;Hoping that answers your question,&lt;/p&gt;

&lt;p&gt;karfau&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">C. Bewernitz</dc:creator><pubDate>Wed, 02 May 2012 15:42:48 -0000</pubDate></item><item><title>Re: Robotlegs MVCS: Walkthrough of an AIR Twitter Client</title><link>http://joelhooks.com/2009/11/11/a-walkthrough-of-an-air-twitter-client-using-robotlegs-mvcs/#comment-516959375</link><description>&lt;p&gt;Thank you so much for this useful screencast.&lt;/p&gt;

&lt;p&gt;I see that you create a view/mediator for everything... things as small as buttons... when working on a large scale project, a single view could have tens of these small view/mediators. Is there a different way of handling these things?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mutasem Barjawi</dc:creator><pubDate>Wed, 02 May 2012 15:23:55 -0000</pubDate></item><item><title>Re: Robotlegs Book: ActionScript Developer’s Guide to Robotlegs</title><link>http://joelhooks.com/2011/07/16/robotlegs-book-actionscript-developer%e2%80%99s-guide-to-robotlegs/#comment-507843387</link><description>&lt;p&gt;Nice book! Do you have a tutorial about separating view-logic from the mediator. I saw it in the book and want to try it out, but I really don't know were to start :X.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anna</dc:creator><pubDate>Tue, 24 Apr 2012 09:22:29 -0000</pubDate></item><item><title>Re: Flex Date and Time (datetime) Picker Control</title><link>http://joelhooks.com/2008/10/11/flex-date-and-time-datetime-picker-control/#comment-481154781</link><description>&lt;p&gt;Thanks!!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gennadynikolaev</dc:creator><pubDate>Fri, 30 Mar 2012 16:19:34 -0000</pubDate></item><item><title>Re: An Introduction to Robotlegs AS3 Part 1: Context and Mediators</title><link>http://joelhooks.com/2011/03/12/an-introduction-to-robotlegs-as3-part-1-context-and-mediators/#comment-454433417</link><description>&lt;p&gt; I don't know if I understand correctly, but this is what I want: if I want to inject the MessageView in my mediator like this: [Injector]private var myMessageView:MessageView; .&lt;/p&gt;

&lt;p&gt;I see it is possible like that, but are their some drawbacks?? &lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anna</dc:creator><pubDate>Fri, 02 Mar 2012 08:16:51 -0000</pubDate></item><item><title>Re: An Introduction to Robotlegs AS3 Part 1: Context and Mediators</title><link>http://joelhooks.com/2011/03/12/an-introduction-to-robotlegs-as3-part-1-context-and-mediators/#comment-453444649</link><description>&lt;p&gt;Injections occur externally. The Injector has no access to private member variables. I know some folks that have done interesting byte code manipulations to make it possible, but with RL, that isn't the case. &lt;br&gt;--&lt;br&gt;Joel&lt;br&gt;817.675.6031 m&lt;br&gt;@jhooks (&lt;a href="https://twitter.com/#!/jhooks)" rel="nofollow"&gt;https://twitter.com/#!/jhooks)&lt;/a&gt;&lt;br&gt;&lt;a href="http://joelhooks.com" rel="nofollow"&gt;http://joelhooks.com&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joel Hooks</dc:creator><pubDate>Thu, 01 Mar 2012 10:40:48 -0000</pubDate></item><item><title>Re: An Introduction to Robotlegs AS3 Part 1: Context and Mediators</title><link>http://joelhooks.com/2011/03/12/an-introduction-to-robotlegs-as3-part-1-context-and-mediators/#comment-453239983</link><description>&lt;p&gt;You always inject a view as a public var, why not private? Is there a difference? &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anna</dc:creator><pubDate>Thu, 01 Mar 2012 05:04:21 -0000</pubDate></item><item><title>Re: Robotlegs, AS3-Signals and the SignalCommandMap Example</title><link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/#comment-446650136</link><description>&lt;p&gt;this is an old post but just in case ppl are still reading - did you find a solution for this? I have the same problem trying to build a pure as3, robotlegs-signals example. cheers&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mike</dc:creator><pubDate>Thu, 23 Feb 2012 00:16:47 -0000</pubDate></item><item><title>Re: Robotlegs, AS3-Signals and the SignalCommandMap Example</title><link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/#comment-446631481</link><description>&lt;p&gt;Is this a flex only sample? I've tried to work this into a pure as3 example but extending SignalContext says super() accepts 0 parameters. If thats the case how do u pass in a context view? Great article btw :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mike</dc:creator><pubDate>Wed, 22 Feb 2012 23:42:24 -0000</pubDate></item><item><title>Re: Robotlegs 2 (beta): Flickr Image Gallery</title><link>http://joelhooks.com/2011/12/29/robotlegs-2-beta-flickr-image-gallery/#comment-427338558</link><description>&lt;p&gt;I don't think so. I can't investigate until this weekend. You can ask on the &lt;a href="http://knowledge.robotlegs.org" rel="nofollow"&gt;http://knowledge.robotlegs.org&lt;/a&gt; and might get a faster collaborator.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joel Hooks</dc:creator><pubDate>Thu, 02 Feb 2012 00:54:29 -0000</pubDate></item><item><title>Re: Robotlegs 2 (beta): Flickr Image Gallery</title><link>http://joelhooks.com/2011/12/29/robotlegs-2-beta-flickr-image-gallery/#comment-427122459</link><description>&lt;p&gt;Hi Joel, &lt;/p&gt;

&lt;p&gt;I just tried and it does not work for me. &lt;br&gt;Here is wjat I am doing:&lt;br&gt;1. In the AppConfig I have added following lines:&lt;br&gt;            mediatorMap.map(TestPopupButton).toMediator(TestPopupButtonMediator); //button on popup window            mediatorMap.map(TestPopupWindow).toMediator(TestPopupWindowMediator); // and popup window itself&lt;br&gt;2. And here I open popup:&lt;br&gt;            var w:TestPopupWindow = new TestPopupWindow();            PopUpManager.addPopUp(w, FlexGlobals.topLevelApplication as DisplayObject);&lt;/p&gt;

&lt;p&gt;Am I missing something?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Denis</dc:creator><pubDate>Wed, 01 Feb 2012 23:09:51 -0000</pubDate></item><item><title>Re: Robotlegs 2 (beta): Flickr Image Gallery</title><link>http://joelhooks.com/2011/12/29/robotlegs-2-beta-flickr-image-gallery/#comment-426400115</link><description>&lt;p&gt;That's a good question. Give it a try ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joel Hooks</dc:creator><pubDate>Wed, 01 Feb 2012 11:06:14 -0000</pubDate></item><item><title>Re: Robotlegs 2 (beta): Flickr Image Gallery</title><link>http://joelhooks.com/2011/12/29/robotlegs-2-beta-flickr-image-gallery/#comment-426176060</link><description>&lt;p&gt;Hi Joel, &lt;/p&gt;

&lt;p&gt;Is flex popup mediating properly with RL2?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Denis</dc:creator><pubDate>Wed, 01 Feb 2012 04:08:54 -0000</pubDate></item><item><title>Re: Modular Robotlegs</title><link>http://69.164.207.135/?p=503#comment-415491643</link><description>&lt;p&gt;for anyone interested, the slow down with multiple doodads appears to come mainly from the console logging not the modular nature. if you remove the console from the app the modules are a lot more responsive even when adding a few. &lt;/p&gt;

&lt;p&gt;Great example thanks Joel. this and &lt;a href="http://labs.riamore.com/content/robotlegs/examples/dynmodules" rel="nofollow"&gt;http://labs.riamore.com/conten...&lt;/a&gt; got me up to scratch with RobotLegs &amp;amp; Flex, for some of these more complicated applications of the frameworks, from a beginner in in a few days&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jmp909</dc:creator><pubDate>Thu, 19 Jan 2012 13:15:14 -0000</pubDate></item><item><title>Re: Robotlegs, AS3-Signals and the SignalCommandMap Example</title><link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/#comment-410219515</link><description>&lt;p&gt;Ok i updated my SignalsCommandMap swc to the v0.4 version and along with my constructor fix in FoodItemSelected everything works without warnings now&lt;/p&gt;

&lt;p&gt;SWCs used: &lt;br&gt;as3-signals-v0.8.swc, robotlegs-framework-v1.5.2.swc, &lt;br&gt;signals-extension-SignalsCommandMap-v0.4.swc, &lt;br&gt;SwiftSuspenders-v1.5.1.swcHope this is useful to people&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jmp909</dc:creator><pubDate>Fri, 13 Jan 2012 18:50:38 -0000</pubDate></item><item><title>Re: Robotlegs, AS3-Signals and the SignalCommandMap Example</title><link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/#comment-410213752</link><description>&lt;p&gt;sorry about that.. line breaks not showing.. those other parts are my trace outputs to follow the function signal flow.. the warning is:   &lt;/p&gt;

&lt;p&gt;Warning: Injector already has a rule for type "org.robotlegs.examples.signalcommands.model.enums::FoodType", named "". If you have overwritten this mapping intentionally you can use "injector.unmap()" prior to your replacement mapping in order to avoid seeing this message. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jmp909</dc:creator><pubDate>Fri, 13 Jan 2012 18:39:06 -0000</pubDate></item><item><title>Re: Robotlegs, AS3-Signals and the SignalCommandMap Example</title><link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/#comment-410213088</link><description>&lt;p&gt;i've managed to get this sort of working with: &lt;br&gt;as3-signals-v0.8.swcrobotlegs-framework-v1.5.2.swcsignals-extension-SignalsCommandMap.swcSwiftSuspenders-v1.5.1.swchowever note the following..&lt;/p&gt;

&lt;p&gt;I had to add a constructor function to the FoodItemSelected signal&lt;/p&gt;

&lt;p&gt;	public class FoodItemSelected extends Signal	{		public function FoodItemSelected()		{				super(FoodItem);		}	}&lt;/p&gt;

&lt;p&gt;this removes the following error that was occurring with other versions:&lt;/p&gt;

&lt;p&gt;[Fault] exception, information=Error: Injector is missing a rule to handle injection into property "item" of object "[object FoodItemSelectedCommand]". Target dependency: "org.robotlegs.examples.signalcommands.model.vo::FoodItem", named ""&lt;/p&gt;

&lt;p&gt;but there's a warning on the Injector...&lt;/p&gt;

&lt;p&gt;AddFoodItemToOrder::FoodSelectionView::addFoodItem_clickHandlerFoodSelectionViewMediator::handleItemTypeAddedAddFoodItemToOrderCommand::executeFoodOrderModel::addItemToOrderCurrentOrderViewMediator::updateOnItemAddedFoodItemSelectedCommand::executeCurrentOrderViewMediator::updateOnOrderUpdatedFoodSelectionView::addFoodItem_clickHandlerFoodSelectionViewMediator::handleItemTypeAddedWarning: Injector already has a rule for type "org.robotlegs.examples.signalcommands.model.enums::FoodType", named "". If you have overwritten this mapping intentionally you can use "injector.unmap()" prior to your replacement mapping in order to avoid seeing this message.&lt;/p&gt;

&lt;p&gt;I'm not sure what's happening there then. The application works now, but there's obviously still an issue&lt;/p&gt;

&lt;p&gt;j&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jmp909</dc:creator><pubDate>Fri, 13 Jan 2012 18:37:48 -0000</pubDate></item><item><title>Re: Robotlegs 2 (beta): Flickr Image Gallery</title><link>http://joelhooks.com/2011/12/29/robotlegs-2-beta-flickr-image-gallery/#comment-400962416</link><description>&lt;p&gt;&amp;gt; "this just doesn't make any sense to dig through the context to get at the dependency that I really want."&lt;/p&gt;

&lt;p&gt;I agree. The IContextConfigs currently in Robotlegs 2 have a lot of code like:&lt;/p&gt;

&lt;p&gt;context.injector.getInstance(IMediatorMap)&lt;/p&gt;

&lt;p&gt;Using the context to get the injector to pull out a dependency from the injector--this gets my Demeter-sense tingling. I feel it would be more straightforward to just inject the IMediatorMap into something and skip the pretext of "configuring the context".&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Penner</dc:creator><pubDate>Wed, 04 Jan 2012 22:45:10 -0000</pubDate></item><item><title>Re: Robotlegs 2 (beta): Flickr Image Gallery</title><link>http://joelhooks.com/2011/12/29/robotlegs-2-beta-flickr-image-gallery/#comment-400949968</link><description>&lt;p&gt;I agree with you on the last point. Obviously making custom Events is not my favourite thing, either.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Penner</dc:creator><pubDate>Wed, 04 Jan 2012 22:21:58 -0000</pubDate></item><item><title>Re: Robotlegs 2 (beta): Flickr Image Gallery</title><link>http://joelhooks.com/2011/12/29/robotlegs-2-beta-flickr-image-gallery/#comment-400948886</link><description>&lt;p&gt;Or you could *gasp* execute the command manually. =) Your point is taken, though. Maybe we should make it easier to execute commands then. Or make it easier to inject into functions in general. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Penner</dc:creator><pubDate>Wed, 04 Jan 2012 22:19:28 -0000</pubDate></item><item><title>Re: Robotlegs 2 (beta): Flickr Image Gallery</title><link>http://joelhooks.com/2011/12/29/robotlegs-2-beta-flickr-image-gallery/#comment-400352735</link><description>&lt;p&gt;Continued over at: &lt;a href="https://github.com/robotlegs/robotlegs-framework/issues/32" rel="nofollow"&gt;https://github.com/robotlegs/r...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">shaun</dc:creator><pubDate>Wed, 04 Jan 2012 09:07:03 -0000</pubDate></item><item><title>Re: Robotlegs 2 (beta): Flickr Image Gallery</title><link>http://joelhooks.com/2011/12/29/robotlegs-2-beta-flickr-image-gallery/#comment-400352220</link><description>&lt;p&gt;Remember that the context is not fully initialized at those points, and all dependencies have not necessarily been mapped, so automated injection into those configs is not feasible.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">shaun</dc:creator><pubDate>Wed, 04 Jan 2012 09:06:04 -0000</pubDate></item></channel></rss>
