<?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: Migrate from Cairngorm to Swiz</title>
	<atom:link href="http://soenkerohde.com/2009/05/migrate-from-cairngorm-to-swiz/feed/" rel="self" type="application/rss+xml" />
	<link>http://soenkerohde.com/2009/05/migrate-from-cairngorm-to-swiz/</link>
	<description>Flash Platform (Flash, Flex, AIR) thoughts and examples</description>
	<lastBuildDate>Sat, 24 Jul 2010 13:37:31 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ron Pasch &#187; Blog Archiv &#187; A first experience with the Swiz framework</title>
		<link>http://soenkerohde.com/2009/05/migrate-from-cairngorm-to-swiz/comment-page-1/#comment-27330</link>
		<dc:creator>Ron Pasch &#187; Blog Archiv &#187; A first experience with the Swiz framework</dc:creator>
		<pubDate>Mon, 14 Sep 2009 11:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=366#comment-27330</guid>
		<description>[...] the web to read up a little more on Swiz and I came to an article by S&#246;nke Rohde about migrating from Cairngorm to Swiz. The way Sonke deals with Swiz is a bit different than in Brian&#8217;s tutorial and it makes things [...]</description>
		<content:encoded><![CDATA[<p>[...] the web to read up a little more on Swiz and I came to an article by S&ouml;nke Rohde about migrating from Cairngorm to Swiz. The way Sonke deals with Swiz is a bit different than in Brian&#8217;s tutorial and it makes things [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: him_aeng</title>
		<link>http://soenkerohde.com/2009/05/migrate-from-cairngorm-to-swiz/comment-page-1/#comment-26895</link>
		<dc:creator>him_aeng</dc:creator>
		<pubDate>Thu, 16 Jul 2009 09:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=366#comment-26895</guid>
		<description>I waited for you and other swiz guru to answer my question. Please visit to http://groups.google.com/group/swiz-framework/browse_thread/thread/43a722a6ef92eec8</description>
		<content:encoded><![CDATA[<p>I waited for you and other swiz guru to answer my question. Please visit to <a href="http://groups.google.com/group/swiz-framework/browse_thread/thread/43a722a6ef92eec8" rel="nofollow">http://groups.google.com/group/swiz-framework/browse_thread/thread/43a722a6ef92eec8</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sönke</title>
		<link>http://soenkerohde.com/2009/05/migrate-from-cairngorm-to-swiz/comment-page-1/#comment-26889</link>
		<dc:creator>Sönke</dc:creator>
		<pubDate>Wed, 15 Jul 2009 11:42:03 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=366#comment-26889</guid>
		<description>him_aeng, you should be able to solve message push more elegant with Swiz. I would recommend to post your question to the swiz mailinglist to get feedback from the Swiz community.</description>
		<content:encoded><![CDATA[<p>him_aeng, you should be able to solve message push more elegant with Swiz. I would recommend to post your question to the swiz mailinglist to get feedback from the Swiz community.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: him_aeng</title>
		<link>http://soenkerohde.com/2009/05/migrate-from-cairngorm-to-swiz/comment-page-1/#comment-26888</link>
		<dc:creator>him_aeng</dc:creator>
		<pubDate>Wed, 15 Jul 2009 10:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=366#comment-26888</guid>
		<description>Recently, I just finished my project yesterday. That project use .swc file that publish from flash cs3 using flex component kit heavily. So the problem with this approach was that your view code was boilerplate. I have to addEventListener with every button when the frame was entered. When I dispatch the view event to Cairngorm command I found many of same problem. It doesn&#039;t work right, so sometime I have to write command code in view itself it look ugly and many line.

Another problem with Cairngorm was my project rely heavily on message pushing from server and Cairngorm standard edition was not support because since version 2.1 Adobe decided to separated the enterprise feature to cairngorm (in this case is getConsumer() method) enterprise version, which use well with only LCDS and my project use BlazeDS, so the ugly happen again. I was force by Cairngorm to put consumer logic in view and modelLocator very ugly code.

Now, I decided to refactor my project to use swiz and when I read the project code from http://www.returnundefined.com/2009/05/swiz-example-application-with-presentation-model-pattern, I felled it is lovely framework, It look fun to work with so today I will start to refactor my project with your awesome framework.

So, only one question that I have.

Is there any issue about working with message pushing with swiz like Cairngorm has?</description>
		<content:encoded><![CDATA[<p>Recently, I just finished my project yesterday. That project use .swc file that publish from flash cs3 using flex component kit heavily. So the problem with this approach was that your view code was boilerplate. I have to addEventListener with every button when the frame was entered. When I dispatch the view event to Cairngorm command I found many of same problem. It doesn&#8217;t work right, so sometime I have to write command code in view itself it look ugly and many line.</p>
<p>Another problem with Cairngorm was my project rely heavily on message pushing from server and Cairngorm standard edition was not support because since version 2.1 Adobe decided to separated the enterprise feature to cairngorm (in this case is getConsumer() method) enterprise version, which use well with only LCDS and my project use BlazeDS, so the ugly happen again. I was force by Cairngorm to put consumer logic in view and modelLocator very ugly code.</p>
<p>Now, I decided to refactor my project to use swiz and when I read the project code from <a href="http://www.returnundefined.com/2009/05/swiz-example-application-with-presentation-model-pattern" rel="nofollow">http://www.returnundefined.com/2009/05/swiz-example-application-with-presentation-model-pattern</a>, I felled it is lovely framework, It look fun to work with so today I will start to refactor my project with your awesome framework.</p>
<p>So, only one question that I have.</p>
<p>Is there any issue about working with message pushing with swiz like Cairngorm has?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sönke</title>
		<link>http://soenkerohde.com/2009/05/migrate-from-cairngorm-to-swiz/comment-page-1/#comment-26677</link>
		<dc:creator>Sönke</dc:creator>
		<pubDate>Tue, 16 Jun 2009 08:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=366#comment-26677</guid>
		<description>Yep, for the record: Swiz supports now bubbling events and the BeanLoader contains a protected dispatcher instance which can be set in every bean loaded in a BeanLoader.</description>
		<content:encoded><![CDATA[<p>Yep, for the record: Swiz supports now bubbling events and the BeanLoader contains a protected dispatcher instance which can be set in every bean loaded in a BeanLoader.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalle Bertell</title>
		<link>http://soenkerohde.com/2009/05/migrate-from-cairngorm-to-swiz/comment-page-1/#comment-26671</link>
		<dc:creator>Kalle Bertell</dc:creator>
		<pubDate>Mon, 15 Jun 2009 22:09:58 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=366#comment-26671</guid>
		<description>duh, forget it :)
I just read newer posts on your blog.</description>
		<content:encoded><![CDATA[<p>duh, forget it <img src='http://soenkerohde.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I just read newer posts on your blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalle Bertell</title>
		<link>http://soenkerohde.com/2009/05/migrate-from-cairngorm-to-swiz/comment-page-1/#comment-26668</link>
		<dc:creator>Kalle Bertell</dc:creator>
		<pubDate>Mon, 15 Jun 2009 20:51:22 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=366#comment-26668</guid>
		<description>What about Swiz.dispatch(&quot;loadContacts&quot;)?

Even if it doesn&#039;t have an getInstance() it still hides a singleton, and any place where you use this it is as if adding an old Whatever.getInstance() call in your code. 

I guess one could wrap the calls to Swiz in a bean and have swiz autowire it into the class. Then it&#039;d have dispatcher.dispatch(&quot;foo&quot;), but it requires more boilerplate code for any class needing the &quot;dispatcher&quot;.

What&#039;s your opinion on event bubbling?
The swiz mediator could register itself to the systemManager and catch the events before they fizzle.
This would liberate components from calling static Swiz methods and there&#039;d be no extra injection boilerplate.</description>
		<content:encoded><![CDATA[<p>What about Swiz.dispatch(&#8220;loadContacts&#8221;)?</p>
<p>Even if it doesn&#8217;t have an getInstance() it still hides a singleton, and any place where you use this it is as if adding an old Whatever.getInstance() call in your code. </p>
<p>I guess one could wrap the calls to Swiz in a bean and have swiz autowire it into the class. Then it&#8217;d have dispatcher.dispatch(&#8220;foo&#8221;), but it requires more boilerplate code for any class needing the &#8220;dispatcher&#8221;.</p>
<p>What&#8217;s your opinion on event bubbling?<br />
The swiz mediator could register itself to the systemManager and catch the events before they fizzle.<br />
This would liberate components from calling static Swiz methods and there&#8217;d be no extra injection boilerplate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: diamondTearz &#187; links for 2009-05-04</title>
		<link>http://soenkerohde.com/2009/05/migrate-from-cairngorm-to-swiz/comment-page-1/#comment-26388</link>
		<dc:creator>diamondTearz &#187; links for 2009-05-04</dc:creator>
		<pubDate>Thu, 21 May 2009 06:21:16 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=366#comment-26388</guid>
		<description>[...] Sönke Rohde » Migrate from Cairngorm to Swiz (tags: cairngorm swiz) [...]</description>
		<content:encoded><![CDATA[<p>[...] Sönke Rohde » Migrate from Cairngorm to Swiz (tags: cairngorm swiz) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sönke</title>
		<link>http://soenkerohde.com/2009/05/migrate-from-cairngorm-to-swiz/comment-page-1/#comment-26328</link>
		<dc:creator>Sönke</dc:creator>
		<pubDate>Wed, 13 May 2009 13:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=366#comment-26328</guid>
		<description>Ben, thanks for your comment which exactly describes what I thought and tried to express in the post in the first place.

@Robin: you are saying that you use binding for dependency injection. Do you mean by that something like:
var modelLocator:IModelLocator = ModelLocator.getInstance();?
If this is so this is no dependency injection aka inversion of control. The thing about dependency injection is the so called Hollywood principle: &quot;Don&#039;t call us, we call you&quot;: http://en.wikipedia.org/wiki/Hollywood_Principle
I think to have a better understanding trying out Swiz is probably the best because than you understand why it is brutally simple to use and offers so much flexibility.</description>
		<content:encoded><![CDATA[<p>Ben, thanks for your comment which exactly describes what I thought and tried to express in the post in the first place.</p>
<p>@Robin: you are saying that you use binding for dependency injection. Do you mean by that something like:<br />
var modelLocator:IModelLocator = ModelLocator.getInstance();?<br />
If this is so this is no dependency injection aka inversion of control. The thing about dependency injection is the so called Hollywood principle: &#8220;Don&#8217;t call us, we call you&#8221;: <a href="http://en.wikipedia.org/wiki/Hollywood_Principle" rel="nofollow">http://en.wikipedia.org/wiki/Hollywood_Principle</a><br />
I think to have a better understanding trying out Swiz is probably the best because than you understand why it is brutally simple to use and offers so much flexibility.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Clinkinbeard</title>
		<link>http://soenkerohde.com/2009/05/migrate-from-cairngorm-to-swiz/comment-page-1/#comment-26327</link>
		<dc:creator>Ben Clinkinbeard</dc:creator>
		<pubDate>Wed, 13 May 2009 13:49:15 +0000</pubDate>
		<guid isPermaLink="false">http://soenkerohde.com/?p=366#comment-26327</guid>
		<description>Tag after &quot;things like&quot; at the end of second paragraph got eaten. Was supposed to be: [mx:Label text=&quot;{ ModelLocator.getInstance().someValue }&quot; /]</description>
		<content:encoded><![CDATA[<p>Tag after &#8220;things like&#8221; at the end of second paragraph got eaten. Was supposed to be: [mx:Label text="{ ModelLocator.getInstance().someValue }" /]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
