<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments for Joel Hooks</title>
	<atom:link href="http://joelhooks.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://joelhooks.com</link>
	<description>even if you aren't testing your code, you should write testable code</description>
	<lastBuildDate>Sun, 21 Feb 2010 09:03:04 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Robotlegs, AS3-Signals and the SignalCommandMap Example by sjhewitt</title>
		<link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/comment-page-1/#comment-9473</link>
		<dc:creator>sjhewitt</dc:creator>
		<pubDate>Sun, 21 Feb 2010 09:03:04 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=432#comment-9473</guid>
		<description>I thought about using a reflector, but i would still run into the problem of not being able to inject to interfaces. Personally, i think the contract created using Signal.valueClasses should be honoured when it is set, otherwise falling back to the usual method.&lt;br&gt;&lt;br&gt;Implicitly named injectors could be used, but does add quite a bit more complexity to the signal routing. It could also be possible to create an IInjectedSignal interface that extends ISignal and adds a command something like:&lt;br&gt;mapValues(injector, valueObjects)  and unmapValues(injector, valueObjects)&lt;br&gt;Then the routeSignalToCommand works like this:&lt;br&gt;&lt;a href=&quot;http://gist.github.com/310237&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/310237&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I thought about using a reflector, but i would still run into the problem of not being able to inject to interfaces. Personally, i think the contract created using Signal.valueClasses should be honoured when it is set, otherwise falling back to the usual method.</p>
<p>Implicitly named injectors could be used, but does add quite a bit more complexity to the signal routing. It could also be possible to create an IInjectedSignal interface that extends ISignal and adds a command something like:<br />mapValues(injector, valueObjects)  and unmapValues(injector, valueObjects)<br />Then the routeSignalToCommand works like this:<br /><a href="http://gist.github.com/310237" rel="nofollow">http://gist.github.com/310237</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Robotlegs, AS3-Signals and the SignalCommandMap Example by Will</title>
		<link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/comment-page-1/#comment-9472</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Sun, 21 Feb 2010 04:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=432#comment-9472</guid>
		<description>Should signals be used when a mediator simply needs to respond to a change in the model? I assume in order to do this the signal will need to be registered as a singleton using injector.mapSingleton(MySignal) as a Command is not needed in this use case.</description>
		<content:encoded><![CDATA[<p>Should signals be used when a mediator simply needs to respond to a change in the model? I assume in order to do this the signal will need to be registered as a singleton using injector.mapSingleton(MySignal) as a Command is not needed in this use case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Robotlegs, AS3-Signals and the SignalCommandMap Example by Jon Toland</title>
		<link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/comment-page-1/#comment-9471</link>
		<dc:creator>Jon Toland</dc:creator>
		<pubDate>Sun, 21 Feb 2010 03:38:18 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=432#comment-9471</guid>
		<description>Your first proposition sounds interesting.  In practice we (CommandMap too) should be calling IReflector#getClass.  Till&#039;s implementation actually has the same bug but it&#039;s already fixed in Injector#injectInto so I&#039;ll file a bug and/or patch right away.  I recently proposed CommandMap#executedCommand and wonder whether it could be modified to accommodate SignalCommandMap#routeSignalToCommand too:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;https://gist.github.com/11597e33a30351a2e2ad&quot; rel=&quot;nofollow&quot;&gt;https://gist.github.com/11597e33a30351a2e2ad&lt;/a&gt;&lt;br&gt;&lt;br&gt;Could your second proposal work without explicit naming injections?  Maybe Joel could implicitly name repeated types ordinally.  Thus your Command would be like:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://gist.github.com/310118&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/310118&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Your first proposition sounds interesting.  In practice we (CommandMap too) should be calling IReflector#getClass.  Till&#39;s implementation actually has the same bug but it&#39;s already fixed in Injector#injectInto so I&#39;ll file a bug and/or patch right away.  I recently proposed CommandMap#executedCommand and wonder whether it could be modified to accommodate SignalCommandMap#routeSignalToCommand too:</p>
<p><a href="https://gist.github.com/11597e33a30351a2e2ad" rel="nofollow">https://gist.github.com/11597e33a30351a2e2ad</a></p>
<p>Could your second proposal work without explicit naming injections?  Maybe Joel could implicitly name repeated types ordinally.  Thus your Command would be like:</p>
<p><a href="http://gist.github.com/310118" rel="nofollow">http://gist.github.com/310118</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Robotlegs, AS3-Signals and the SignalCommandMap Example by sjhewitt</title>
		<link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/comment-page-1/#comment-9470</link>
		<dc:creator>sjhewitt</dc:creator>
		<pubDate>Sat, 20 Feb 2010 15:54:20 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=432#comment-9470</guid>
		<description>I came across a small problem (caused by the use of the .constructor property) when trying to inject a ListCollectionView into a Command, so thought I&#039;d write a post about the changes I made to SignalCommandMap to overcome it. Any thoughts are welcome!&lt;br&gt;&lt;a href=&quot;http://blog.sjhewitt.co.uk/2010/02/robotlegs-and-as3signals-injecting-interfaces-and-named-arguments/&quot; rel=&quot;nofollow&quot;&gt;http://blog.sjhewitt.co.uk/2010/02/robotlegs-an...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I came across a small problem (caused by the use of the .constructor property) when trying to inject a ListCollectionView into a Command, so thought I&#39;d write a post about the changes I made to SignalCommandMap to overcome it. Any thoughts are welcome!<br /><a href="http://blog.sjhewitt.co.uk/2010/02/robotlegs-and-as3signals-injecting-interfaces-and-named-arguments/" rel="nofollow"></a><a href="http://blog.sjhewitt.co.uk/2010/02/robotlegs-an.." rel="nofollow">http://blog.sjhewitt.co.uk/2010/02/robotlegs-an..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Robotlegs, AS3-Signals and the SignalCommandMap Example by Joel Hooks</title>
		<link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/comment-page-1/#comment-9469</link>
		<dc:creator>Joel Hooks</dc:creator>
		<pubDate>Wed, 17 Feb 2010 03:25:15 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=432#comment-9469</guid>
		<description>it *is* kinda hidden in there, but at the same time I don&#039;t want they value type changed and it kicks a RTE quickly if a wrong type is passed.</description>
		<content:encoded><![CDATA[<p>it *is* kinda hidden in there, but at the same time I don&#39;t want they value type changed and it kicks a RTE quickly if a wrong type is passed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Robotlegs, AS3-Signals and the SignalCommandMap Example by Will</title>
		<link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/comment-page-1/#comment-9468</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Wed, 17 Feb 2010 03:05:46 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=432#comment-9468</guid>
		<description>Wait... I get it... nevermind :/</description>
		<content:encoded><![CDATA[<p>Wait&#8230; I get it&#8230; nevermind :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Robotlegs, AS3-Signals and the SignalCommandMap Example by Will</title>
		<link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/comment-page-1/#comment-9467</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Wed, 17 Feb 2010 02:35:11 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=432#comment-9467</guid>
		<description>Shouldn&#039;t the constructor for AddFoodItemToOrder accept a Class as a parameter since you are calling the super&#039;s constructor with super(FoodType)?</description>
		<content:encoded><![CDATA[<p>Shouldn&#39;t the constructor for AddFoodItemToOrder accept a Class as a parameter since you are calling the super&#39;s constructor with super(FoodType)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Robotlegs, AS3-Signals and the SignalCommandMap Example by Joel Hooks</title>
		<link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/comment-page-1/#comment-9466</link>
		<dc:creator>Joel Hooks</dc:creator>
		<pubDate>Tue, 16 Feb 2010 03:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=432#comment-9466</guid>
		<description>That would definitely be the way to go. Unfortunately until SwiftSuspenders and Robotlegs hit the next dot-release the IInjector API isn&#039;t there to accomplish it. It will be more robust in the near future.</description>
		<content:encoded><![CDATA[<p>That would definitely be the way to go. Unfortunately until SwiftSuspenders and Robotlegs hit the next dot-release the IInjector API isn&#39;t there to accomplish it. It will be more robust in the near future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Robotlegs, AS3-Signals and the SignalCommandMap Example by robpenner</title>
		<link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/comment-page-1/#comment-9465</link>
		<dc:creator>robpenner</dc:creator>
		<pubDate>Tue, 16 Feb 2010 01:46:03 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=432#comment-9465</guid>
		<description>I fixed the SignalContext constructor issue here: &lt;br&gt;&lt;a href=&quot;http://github.com/robertpenner/signals-extensions-CommandSignal/commit/645c2fb75e2c57f5d56d12e3e70faa37b814708d&quot; rel=&quot;nofollow&quot;&gt;http://github.com/robertpenner/signals-extensio...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I fixed the SignalContext constructor issue here: <br /><a href="http://github.com/robertpenner/signals-extensions-CommandSignal/commit/645c2fb75e2c57f5d56d12e3e70faa37b814708d" rel="nofollow"></a><a href="http://github.com/robertpenner/signals-extensio.." rel="nofollow">http://github.com/robertpenner/signals-extensio..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Robotlegs, AS3-Signals and the SignalCommandMap Example by Will</title>
		<link>http://joelhooks.com/2010/02/14/robotlegs-as3-signals-and-the-signalcommandmap-example/comment-page-1/#comment-9462</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Mon, 15 Feb 2010 23:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/?p=432#comment-9462</guid>
		<description>When instantiating a custom class extended from SignalContext I am unable to pass the contextView &amp; autoStartup parameters usually passable to a regular Context. I there a reason for this?</description>
		<content:encoded><![CDATA[<p>When instantiating a custom class extended from SignalContext I am unable to pass the contextView &#038; autoStartup parameters usually passable to a regular Context. I there a reason for this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
