<?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: Conditional Compilation to Mock with Swiz</title>
	<atom:link href="http://soenkerohde.com/2008/10/conditional-compilation-to-mock-with-swiz/feed/" rel="self" type="application/rss+xml" />
	<link>http://soenkerohde.com/2008/10/conditional-compilation-to-mock-with-swiz/</link>
	<description>Flash Platform (Flash, Flex, AIR) thoughts and examples</description>
	<lastBuildDate>Wed, 08 Feb 2012 02:25:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Sönke</title>
		<link>http://soenkerohde.com/2008/10/conditional-compilation-to-mock-with-swiz/comment-page-1/#comment-23764</link>
		<dc:creator>Sönke</dc:creator>
		<pubDate>Thu, 27 Nov 2008 10:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=243#comment-23764</guid>
		<description>No, the new example shows how to use a mocked delegate.
But you can easily change the example to use conditional compilation.
Split up the Beans.mxml into three different BeanLoaders like GeneralBeans.mxml, ServiceBeans.mxml and ServiceMockBeans.mxml.
In the ServiceMockBeans.mxml you put the UserMockDelegate and in the ServiceBeans you put the UserDelegateImpl. The rest ends up in the GeneralBeans BeanLoader class.
Then you would load the beans like in this example with conditional compilation.</description>
		<content:encoded><![CDATA[<p>No, the new example shows how to use a mocked delegate.<br />
But you can easily change the example to use conditional compilation.<br />
Split up the Beans.mxml into three different BeanLoaders like GeneralBeans.mxml, ServiceBeans.mxml and ServiceMockBeans.mxml.<br />
In the ServiceMockBeans.mxml you put the UserMockDelegate and in the ServiceBeans you put the UserDelegateImpl. The rest ends up in the GeneralBeans BeanLoader class.<br />
Then you would load the beans like in this example with conditional compilation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Langdon</title>
		<link>http://soenkerohde.com/2008/10/conditional-compilation-to-mock-with-swiz/comment-page-1/#comment-23761</link>
		<dc:creator>Jason Langdon</dc:creator>
		<pubDate>Thu, 27 Nov 2008 02:00:46 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=243#comment-23761</guid>
		<description>So that latest example isn&#039;t using the conditional compilation technique you&#039;ve described in this post? Instead you&#039;ve basically moved what you&#039;ve got in the onPreInit() call in this post into the Beans.mxml file of the latest example and commented out the live server business component for development purposes...?</description>
		<content:encoded><![CDATA[<p>So that latest example isn&#8217;t using the conditional compilation technique you&#8217;ve described in this post? Instead you&#8217;ve basically moved what you&#8217;ve got in the onPreInit() call in this post into the Beans.mxml file of the latest example and commented out the live server business component for development purposes&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sönke</title>
		<link>http://soenkerohde.com/2008/10/conditional-compilation-to-mock-with-swiz/comment-page-1/#comment-23744</link>
		<dc:creator>Sönke</dc:creator>
		<pubDate>Tue, 25 Nov 2008 19:14:38 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=243#comment-23744</guid>
		<description>hi jason,
the GenralBeanLoader would load service independent things like model and controller.
check my example I just posted. There is a download link at the end and you could have a look at the complete source: http://soenkerohde.com/2008/11/mock-business-delegates-with-swiz/</description>
		<content:encoded><![CDATA[<p>hi jason,<br />
the GenralBeanLoader would load service independent things like model and controller.<br />
check my example I just posted. There is a download link at the end and you could have a look at the complete source: <a href="http://soenkerohde.com/2008/11/mock-business-delegates-with-swiz/" rel="nofollow">http://soenkerohde.com/2008/11/mock-business-delegates-with-swiz/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Langdon</title>
		<link>http://soenkerohde.com/2008/10/conditional-compilation-to-mock-with-swiz/comment-page-1/#comment-23743</link>
		<dc:creator>Jason Langdon</dc:creator>
		<pubDate>Tue, 25 Nov 2008 19:07:43 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=243#comment-23743</guid>
		<description>Thanks for the example.

I can&#039;t see where GeneralBeanLoader is being defined in your code though? Or is this declared in an external class? If you can elaborate a bit that would be appreciated.</description>
		<content:encoded><![CDATA[<p>Thanks for the example.</p>
<p>I can&#8217;t see where GeneralBeanLoader is being defined in your code though? Or is this declared in an external class? If you can elaborate a bit that would be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Software Pills » Se busca sustituto de Cairngorm</title>
		<link>http://soenkerohde.com/2008/10/conditional-compilation-to-mock-with-swiz/comment-page-1/#comment-23248</link>
		<dc:creator>Software Pills » Se busca sustituto de Cairngorm</dc:creator>
		<pubDate>Thu, 16 Oct 2008 09:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=243#comment-23248</guid>
		<description>[...] Otro aspecto no resuelto, por el momento, es el tema de los mock objects, pero seguro que hay alguna soluci&#243;n si se estudia detenidamente[3] [...]</description>
		<content:encoded><![CDATA[<p>[...] Otro aspecto no resuelto, por el momento, es el tema de los mock objects, pero seguro que hay alguna soluci&#243;n si se estudia detenidamente[3] [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

