<?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: Scotch on the Rocks, day 3</title>
	<atom:link href="http://www.borrewessel.com/2008/06/09/scotch-on-the-rocks-day-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.borrewessel.com/2008/06/09/scotch-on-the-rocks-day-3/</link>
	<description></description>
	<lastBuildDate>Fri, 02 Jul 2010 23:46:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: bwessel</title>
		<link>http://www.borrewessel.com/2008/06/09/scotch-on-the-rocks-day-3/comment-page-1/#comment-44</link>
		<dc:creator>bwessel</dc:creator>
		<pubDate>Mon, 09 Feb 2009 23:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.borrewessel.com/?p=10#comment-44</guid>
		<description>I believe that the PresentationModel should be instantiated in the view, and not anywhere else. The ModelLocator is the &quot;state bucket&quot;, and should keep your domain data, not presentation logic which the PresentationModel is responsible for.</description>
		<content:encoded><![CDATA[<p>I believe that the PresentationModel should be instantiated in the view, and not anywhere else. The ModelLocator is the &#8220;state bucket&#8221;, and should keep your domain data, not presentation logic which the PresentationModel is responsible for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bwessel</title>
		<link>http://www.borrewessel.com/2008/06/09/scotch-on-the-rocks-day-3/comment-page-1/#comment-43</link>
		<dc:creator>bwessel</dc:creator>
		<pubDate>Mon, 09 Feb 2009 23:42:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.borrewessel.com/?p=10#comment-43</guid>
		<description>There seem a lot of different approaches out there when it comes to which class should be responsible for what in a Cairngorm based application. A very standard approach would be to have the Command call the delegate, and give it a reference to a responder (IResponder), with a reference back to the model. The responder would then either do the parsing itself in the result method, or pass on the responsibility to a parser class, i would prefer the latter.
That said, I&#039;m not a big fan of the chain of classes involved in the typical Cairngorm setup. There are multiple ways of getting around it, and I&#039;ll cover an alternative soon.</description>
		<content:encoded><![CDATA[<p>There seem a lot of different approaches out there when it comes to which class should be responsible for what in a Cairngorm based application. A very standard approach would be to have the Command call the delegate, and give it a reference to a responder (IResponder), with a reference back to the model. The responder would then either do the parsing itself in the result method, or pass on the responsibility to a parser class, i would prefer the latter.<br />
That said, I&#8217;m not a big fan of the chain of classes involved in the typical Cairngorm setup. There are multiple ways of getting around it, and I&#8217;ll cover an alternative soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FlexFlip</title>
		<link>http://www.borrewessel.com/2008/06/09/scotch-on-the-rocks-day-3/comment-page-1/#comment-40</link>
		<dc:creator>FlexFlip</dc:creator>
		<pubDate>Mon, 12 Jan 2009 10:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.borrewessel.com/?p=10#comment-40</guid>
		<description>Borre,
how would you handle loading and parsing data? What I have done now is create a result/handler function in the PM. I pass on a reference to these functions  inside the event that triggers a command. The command uses a delegate to load the data. Question: should the delegate parse the data, and how does it know what is the domain model the data should be saved to?
One option would be to pass a reference to the domain model in the event that triggers the command:
loadDataEvent(faultHandler, resultHandler, domainModel).dispatch()</description>
		<content:encoded><![CDATA[<p>Borre,<br />
how would you handle loading and parsing data? What I have done now is create a result/handler function in the PM. I pass on a reference to these functions  inside the event that triggers a command. The command uses a delegate to load the data. Question: should the delegate parse the data, and how does it know what is the domain model the data should be saved to?<br />
One option would be to pass a reference to the domain model in the event that triggers the command:<br />
loadDataEvent(faultHandler, resultHandler, domainModel).dispatch()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tips og Triks Til Trivsel med Flex : her er mitt arbeid</title>
		<link>http://www.borrewessel.com/2008/06/09/scotch-on-the-rocks-day-3/comment-page-1/#comment-33</link>
		<dc:creator>Tips og Triks Til Trivsel med Flex : her er mitt arbeid</dc:creator>
		<pubDate>Sun, 26 Oct 2008 14:44:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.borrewessel.com/?p=10#comment-33</guid>
		<description>[...] gjennom testene samtidig som kvaliteten på koden din øker. Min gode venn Børre Wessel har holdt en presentasjon på Scotch On The Rock hvor han snakker om hvordan du implementerer presentation model mønsteret i Action Script. [...]</description>
		<content:encoded><![CDATA[<p>[...] gjennom testene samtidig som kvaliteten på koden din øker. Min gode venn Børre Wessel har holdt en presentasjon på Scotch On The Rock hvor han snakker om hvordan du implementerer presentation model mønsteret i Action Script. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomek</title>
		<link>http://www.borrewessel.com/2008/06/09/scotch-on-the-rocks-day-3/comment-page-1/#comment-2</link>
		<dc:creator>Tomek</dc:creator>
		<pubDate>Wed, 18 Jun 2008 15:40:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.borrewessel.com/?p=10#comment-2</guid>
		<description>Hi Borre,

really interesting slides:) I like presentation model approach and I have a question regarding this. How presentation model actually relates to model locator? Should it be instantiated within model locator?

Tomek
</description>
		<content:encoded><![CDATA[<p>Hi Borre,</p>
<p>really interesting slides:) I like presentation model approach and I have a question regarding this. How presentation model actually relates to model locator? Should it be instantiated within model locator?</p>
<p>Tomek</p>
]]></content:encoded>
	</item>
</channel>
</rss>
