<?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/"
		>
<channel>
	<title>Comments on: Dependency Injection, frameworks and other latest AS3 trends, Robotlegs, Dawn, Parsley?</title>
	<atom:link href="http://tomkordys.net/blog/2009/11/09/dependency-injection-frameworks-and-other-latest-as3-trends-robotlegs-dawn-parsley/feed/" rel="self" type="application/rss+xml" />
	<link>http://tomkordys.net/blog/2009/11/09/dependency-injection-frameworks-and-other-latest-as3-trends-robotlegs-dawn-parsley/</link>
	<description>freelance flash/flex/air developer</description>
	<lastBuildDate>Sat, 31 Jul 2010 08:00:16 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Renu</title>
		<link>http://tomkordys.net/blog/2009/11/09/dependency-injection-frameworks-and-other-latest-as3-trends-robotlegs-dawn-parsley/comment-page-1/#comment-180</link>
		<dc:creator>Renu</dc:creator>
		<pubDate>Sun, 29 Nov 2009 06:11:11 +0000</pubDate>
		<guid isPermaLink="false">http://tomkordys.net/blog/?p=81#comment-180</guid>
		<description>Well done. The description is very straight forward.
Thanks for sharing it</description>
		<content:encoded><![CDATA[<p>Well done. The description is very straight forward.<br />
Thanks for sharing it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://tomkordys.net/blog/2009/11/09/dependency-injection-frameworks-and-other-latest-as3-trends-robotlegs-dawn-parsley/comment-page-1/#comment-178</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 25 Nov 2009 17:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://tomkordys.net/blog/?p=81#comment-178</guid>
		<description>Hi Tom,

Thanks for your input. The future of Cairngorm seems to look interesting from what you&#039;d written. I am looking forward to it&#039;s official release.</description>
		<content:encoded><![CDATA[<p>Hi Tom,</p>
<p>Thanks for your input. The future of Cairngorm seems to look interesting from what you&#8217;d written. I am looking forward to it&#8217;s official release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://tomkordys.net/blog/2009/11/09/dependency-injection-frameworks-and-other-latest-as3-trends-robotlegs-dawn-parsley/comment-page-1/#comment-177</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Mon, 23 Nov 2009 22:28:05 +0000</pubDate>
		<guid isPermaLink="false">http://tomkordys.net/blog/?p=81#comment-177</guid>
		<description>It&#039;s great to see such progression in the Flex frameworks space over the last few years. I wrote a post on a similar subject back in July (http://blogs.adobe.com/tomsugden/2009/07/the_trend_towards_inversionofc.html), but you highlight a few more frameworks that have arrived since then. There must be some opportunities for consolidation.

Please allow me to correct a few points re. Parsley and Cairngorm. You wrote that apparently Cairngorm will be pretty much like Parsley, but the truth is more subtle. Some of the Cairngorm beta libraries are implemented as Parsley extensions, because Parsley provides extensibility points that make it easy to create higher-level framework features. Also, the Cairngorm sample applications demonstrate some design patterns, such as the Presentation Model and Command, and in these Parsley is used as the underlying IoC container and messaging framework. We do find Parsley to be a mature and extensible framework, but that is not to discount the other frameworks, which offer their own distinguishing features and characteristics.

Cairngorm itself is undergoing a transformation. The committee acknowledges that the important patterns and practices for RIA development can be applied with a variety of frameworks, and IoC containers provide an elegant means. For instance, instead of declaring services in a Cairngorm service locator, one might declare them in an MXML Parsley config class, a Swiz BeanLoader or a Spring ActionScript XML file. Then the service can be injected into the delegates/commands/etc automatically instead of being retrieved though a locator. The mechanism for dependency-inversion has changed, but the separation of concerns and underlying design patterns remain.

So going forwards you can expect Cairngorm to become more focussed on patterns and practices. The Cairngorm Committee won&#039;t seek to compete with all the latest frameworks, but rather to embrace and encourage them. Cairngorm will aim to provide guidance to help enterprises deliver large Flex projects successfully and where possible this will be framework agnostic. This transition is very much in progress, but we hope the result will promote the continuing development of frameworks, from the trend towards inversion-of-control containers, to the emerging modularity frameworks, like Potomac and Adobe Gravity.</description>
		<content:encoded><![CDATA[<p>It&#8217;s great to see such progression in the Flex frameworks space over the last few years. I wrote a post on a similar subject back in July (<a href="http://blogs.adobe.com/tomsugden/2009/07/the_trend_towards_inversionofc.html)" rel="nofollow">http://blogs.adobe.com/tomsugden/2009/07/the_trend_towards_inversionofc.html)</a>, but you highlight a few more frameworks that have arrived since then. There must be some opportunities for consolidation.</p>
<p>Please allow me to correct a few points re. Parsley and Cairngorm. You wrote that apparently Cairngorm will be pretty much like Parsley, but the truth is more subtle. Some of the Cairngorm beta libraries are implemented as Parsley extensions, because Parsley provides extensibility points that make it easy to create higher-level framework features. Also, the Cairngorm sample applications demonstrate some design patterns, such as the Presentation Model and Command, and in these Parsley is used as the underlying IoC container and messaging framework. We do find Parsley to be a mature and extensible framework, but that is not to discount the other frameworks, which offer their own distinguishing features and characteristics.</p>
<p>Cairngorm itself is undergoing a transformation. The committee acknowledges that the important patterns and practices for RIA development can be applied with a variety of frameworks, and IoC containers provide an elegant means. For instance, instead of declaring services in a Cairngorm service locator, one might declare them in an MXML Parsley config class, a Swiz BeanLoader or a Spring ActionScript XML file. Then the service can be injected into the delegates/commands/etc automatically instead of being retrieved though a locator. The mechanism for dependency-inversion has changed, but the separation of concerns and underlying design patterns remain.</p>
<p>So going forwards you can expect Cairngorm to become more focussed on patterns and practices. The Cairngorm Committee won&#8217;t seek to compete with all the latest frameworks, but rather to embrace and encourage them. Cairngorm will aim to provide guidance to help enterprises deliver large Flex projects successfully and where possible this will be framework agnostic. This transition is very much in progress, but we hope the result will promote the continuing development of frameworks, from the trend towards inversion-of-control containers, to the emerging modularity frameworks, like Potomac and Adobe Gravity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://tomkordys.net/blog/2009/11/09/dependency-injection-frameworks-and-other-latest-as3-trends-robotlegs-dawn-parsley/comment-page-1/#comment-173</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 19 Nov 2009 10:50:57 +0000</pubDate>
		<guid isPermaLink="false">http://tomkordys.net/blog/?p=81#comment-173</guid>
		<description>Hi Sam, 

I was a good presentation, you made it look really simple. Thanks for the slides and thanks for clarifying on SmartyPants.

Tom</description>
		<content:encoded><![CDATA[<p>Hi Sam, </p>
<p>I was a good presentation, you made it look really simple. Thanks for the slides and thanks for clarifying on SmartyPants.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://tomkordys.net/blog/2009/11/09/dependency-injection-frameworks-and-other-latest-as3-trends-robotlegs-dawn-parsley/comment-page-1/#comment-172</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Thu, 19 Nov 2009 10:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://tomkordys.net/blog/?p=81#comment-172</guid>
		<description>Hey Tom,

Sam here (author of Dawn), thanks for taking a look at it!  I did that talk at FLUG the other night. I popped the slides up here http://www.ziazoo.co.uk/blog/index.php/2009/11/18/dawn-at-flug/

Also Dawn doesn&#039;t rely on SmartyPants, it has its own DI core... but since they are both derived from Guice they look pretty similar

Cheers mate,
Sam</description>
		<content:encoded><![CDATA[<p>Hey Tom,</p>
<p>Sam here (author of Dawn), thanks for taking a look at it!  I did that talk at FLUG the other night. I popped the slides up here <a href="http://www.ziazoo.co.uk/blog/index.php/2009/11/18/dawn-at-flug/" rel="nofollow">http://www.ziazoo.co.uk/blog/index.php/2009/11/18/dawn-at-flug/</a></p>
<p>Also Dawn doesn&#8217;t rely on SmartyPants, it has its own DI core&#8230; but since they are both derived from Guice they look pretty similar</p>
<p>Cheers mate,<br />
Sam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Clinkinbeard</title>
		<link>http://tomkordys.net/blog/2009/11/09/dependency-injection-frameworks-and-other-latest-as3-trends-robotlegs-dawn-parsley/comment-page-1/#comment-171</link>
		<dc:creator>Ben Clinkinbeard</dc:creator>
		<pubDate>Thu, 12 Nov 2009 14:46:30 +0000</pubDate>
		<guid isPermaLink="false">http://tomkordys.net/blog/?p=81#comment-171</guid>
		<description>Hi Tom,

&quot;SmartyPants was the first IoC Container for AS3 on it’s own.&quot;

That may be the case and I have no problem with that statement.

I was referring to the line &quot;[SmartyPants] is the one that started the whole Dependency Injection trend&quot;. If that is intended to imply &quot;for pure AS3&quot; or &quot;that does nothing but DI/IoC&quot; that is not apparent.</description>
		<content:encoded><![CDATA[<p>Hi Tom,</p>
<p>&#8220;SmartyPants was the first IoC Container for AS3 on it’s own.&#8221;</p>
<p>That may be the case and I have no problem with that statement.</p>
<p>I was referring to the line &#8220;[SmartyPants] is the one that started the whole Dependency Injection trend&#8221;. If that is intended to imply &#8220;for pure AS3&#8243; or &#8220;that does nothing but DI/IoC&#8221; that is not apparent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://tomkordys.net/blog/2009/11/09/dependency-injection-frameworks-and-other-latest-as3-trends-robotlegs-dawn-parsley/comment-page-1/#comment-170</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 12 Nov 2009 11:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://tomkordys.net/blog/?p=81#comment-170</guid>
		<description>Hi Joel,

What do you mean they are both DI? Could you please explain?
Cairngorm and PureMCV use  Service Locator pattern, they use a registry ( eg. facade in pMVC ) and they retrieve actors (eg. facade.retrieveProxy) which is not too good, because you end up having a couple of singletons that are hard to unit test. DI makes is easier by removing the registry ( so you don&#039;t have to be doing facade.retrieveStuff ) and keeping your classes decoupled. 
Have a look here, it&#039;s from the guy who invented the pattern:
http://martinfowler.com/articles/injection.html 

If you look in:
Using a Service Locator he states:
&quot;Injection isn&#039;t the only way to break this dependency, another is to use a service locator.&quot;

Many people state that DI is an alternative to Service Locator pattern, therfore I don&#039;t agee that pureMVC and Cairngorm can be called DI frameworks.</description>
		<content:encoded><![CDATA[<p>Hi Joel,</p>
<p>What do you mean they are both DI? Could you please explain?<br />
Cairngorm and PureMCV use  Service Locator pattern, they use a registry ( eg. facade in pMVC ) and they retrieve actors (eg. facade.retrieveProxy) which is not too good, because you end up having a couple of singletons that are hard to unit test. DI makes is easier by removing the registry ( so you don&#8217;t have to be doing facade.retrieveStuff ) and keeping your classes decoupled.<br />
Have a look here, it&#8217;s from the guy who invented the pattern:<br />
<a href="http://martinfowler.com/articles/injection.html" rel="nofollow">http://martinfowler.com/articles/injection.html</a> </p>
<p>If you look in:<br />
Using a Service Locator he states:<br />
&#8220;Injection isn&#8217;t the only way to break this dependency, another is to use a service locator.&#8221;</p>
<p>Many people state that DI is an alternative to Service Locator pattern, therfore I don&#8217;t agee that pureMVC and Cairngorm can be called DI frameworks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Hooks</title>
		<link>http://tomkordys.net/blog/2009/11/09/dependency-injection-frameworks-and-other-latest-as3-trends-robotlegs-dawn-parsley/comment-page-1/#comment-169</link>
		<dc:creator>Joel Hooks</dc:creator>
		<pubDate>Wed, 11 Nov 2009 18:32:54 +0000</pubDate>
		<guid isPermaLink="false">http://tomkordys.net/blog/?p=81#comment-169</guid>
		<description>Cairngorm and PureMVC are both DI, they just use Service Locator pattern as the mechanism.</description>
		<content:encoded><![CDATA[<p>Cairngorm and PureMVC are both DI, they just use Service Locator pattern as the mechanism.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://tomkordys.net/blog/2009/11/09/dependency-injection-frameworks-and-other-latest-as3-trends-robotlegs-dawn-parsley/comment-page-1/#comment-168</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 11 Nov 2009 09:49:07 +0000</pubDate>
		<guid isPermaLink="false">http://tomkordys.net/blog/?p=81#comment-168</guid>
		<description>Hi Ben, 

That&#039;s exactly what I wrote.
&quot;Basically all the frameworks apart from Cairngorm and PureMVC rely on DI&quot;

SmartyPants was the first IoC Container for AS3 on it&#039;s own.</description>
		<content:encoded><![CDATA[<p>Hi Ben, </p>
<p>That&#8217;s exactly what I wrote.<br />
&#8220;Basically all the frameworks apart from Cairngorm and PureMVC rely on DI&#8221;</p>
<p>SmartyPants was the first IoC Container for AS3 on it&#8217;s own.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Clinkinbeard</title>
		<link>http://tomkordys.net/blog/2009/11/09/dependency-injection-frameworks-and-other-latest-as3-trends-robotlegs-dawn-parsley/comment-page-1/#comment-166</link>
		<dc:creator>Ben Clinkinbeard</dc:creator>
		<pubDate>Wed, 11 Nov 2009 02:48:57 +0000</pubDate>
		<guid isPermaLink="false">http://tomkordys.net/blog/?p=81#comment-166</guid>
		<description>SmartyPants was far from the first DI framework for the Flash Platform. Swiz and Mate were around (and fairly popular) before SmartyPants was even released.</description>
		<content:encoded><![CDATA[<p>SmartyPants was far from the first DI framework for the Flash Platform. Swiz and Mate were around (and fairly popular) before SmartyPants was even released.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
