<?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: Automatic Dependency Injection In The Land Of Dynamic Languages</title>
	<atom:link href="http://misko.hevery.com/2009/10/25/automatic-dependency-injection-in-the-land-of-dynamic-languages/feed/" rel="self" type="application/rss+xml" />
	<link>http://misko.hevery.com/2009/10/25/automatic-dependency-injection-in-the-land-of-dynamic-languages/</link>
	<description>Testability Explorer</description>
	<lastBuildDate>Fri, 30 Jul 2010 03:59:03 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: gropapa</title>
		<link>http://misko.hevery.com/2009/10/25/automatic-dependency-injection-in-the-land-of-dynamic-languages/comment-page-1/#comment-2768</link>
		<dc:creator>gropapa</dc:creator>
		<pubDate>Thu, 07 Jan 2010 09:51:33 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?p=585#comment-2768</guid>
		<description>hi Misko, i love your articles but sometimes, your advices cannot be implemented.
i d like to ask you a question about testability and DI,
To keep it simple, imagine a swf in charge of communicationg with a server, in the code we have like a concrete socket conected to a real server.
this module will be loaded and used as a component.
Now, since it is loaded, the constructor is automaticaly executed, there is no way i can pass a mock socket, so in this case, is the use of a public init() method acceptable?
How can i build a mockModule in order to test other pieces of the application?</description>
		<content:encoded><![CDATA[<p>hi Misko, i love your articles but sometimes, your advices cannot be implemented.<br />
i d like to ask you a question about testability and DI,<br />
To keep it simple, imagine a swf in charge of communicationg with a server, in the code we have like a concrete socket conected to a real server.<br />
this module will be loaded and used as a component.<br />
Now, since it is loaded, the constructor is automaticaly executed, there is no way i can pass a mock socket, so in this case, is the use of a public init() method acceptable?<br />
How can i build a mockModule in order to test other pieces of the application?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: misko</title>
		<link>http://misko.hevery.com/2009/10/25/automatic-dependency-injection-in-the-land-of-dynamic-languages/comment-page-1/#comment-2221</link>
		<dc:creator>misko</dc:creator>
		<pubDate>Thu, 29 Oct 2009 21:39:27 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?p=585#comment-2221</guid>
		<description>yes, i have updated the site</description>
		<content:encoded><![CDATA[<p>yes, i have updated the site</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael de F. Ferreira</title>
		<link>http://misko.hevery.com/2009/10/25/automatic-dependency-injection-in-the-land-of-dynamic-languages/comment-page-1/#comment-2218</link>
		<dc:creator>Rafael de F. Ferreira</dc:creator>
		<pubDate>Thu, 29 Oct 2009 20:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?p=585#comment-2218</guid>
		<description>Is there a paper to accompany the code?</description>
		<content:encoded><![CDATA[<p>Is there a paper to accompany the code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MySchizoBuddy</title>
		<link>http://misko.hevery.com/2009/10/25/automatic-dependency-injection-in-the-land-of-dynamic-languages/comment-page-1/#comment-2210</link>
		<dc:creator>MySchizoBuddy</dc:creator>
		<pubDate>Wed, 28 Oct 2009 21:43:41 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?p=585#comment-2210</guid>
		<description>Is their DI for Objective-C</description>
		<content:encoded><![CDATA[<p>Is their DI for Objective-C</p>
]]></content:encoded>
	</item>
</channel>
</rss>
