<?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: Model-View-ViewModel in Silverlight and Flex</title>
	<atom:link href="http://www.hufkens.net/2010/02/model-view-viewmodel-in-silverlight-and-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hufkens.net/2010/02/model-view-viewmodel-in-silverlight-and-flex/</link>
	<description>{Rich Interactive Applications Developer}</description>
	<lastBuildDate>Sun, 11 Jul 2010 22:11:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Alain</title>
		<link>http://www.hufkens.net/2010/02/model-view-viewmodel-in-silverlight-and-flex/comment-page-1/#comment-879</link>
		<dc:creator>Alain</dc:creator>
		<pubDate>Wed, 30 Jun 2010 14:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.hufkens.net/?p=1184#comment-879</guid>
		<description>Thanx for the comments, and I agree with you that you better use dependency injection and interfaces to connect your View and the ViewModel. In Silverlight I usually create a ViewModelLocator, that is responsible for creating the ViewModels. These can be created with or without dependency injection. And to send back messages from the View to the ViewModel, this can be done through the Command pattern.

However, this was a very simple demo. And I didn&#039;t want to overarchitect the demo. It served as a example to see if some practices from Silverlight could work also in Flex. 

Alain</description>
		<content:encoded><![CDATA[<p>Thanx for the comments, and I agree with you that you better use dependency injection and interfaces to connect your View and the ViewModel. In Silverlight I usually create a ViewModelLocator, that is responsible for creating the ViewModels. These can be created with or without dependency injection. And to send back messages from the View to the ViewModel, this can be done through the Command pattern.</p>
<p>However, this was a very simple demo. And I didn&#8217;t want to overarchitect the demo. It served as a example to see if some practices from Silverlight could work also in Flex. </p>
<p>Alain</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.hufkens.net/2010/02/model-view-viewmodel-in-silverlight-and-flex/comment-page-1/#comment-878</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 29 Jun 2010 14:57:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.hufkens.net/?p=1184#comment-878</guid>
		<description>The purpose of the Presentation Model pattern is to capture state and behaviour of Presentation independently of the View.

What this essentially means is that the View should be as oblivious to your Model, as the Model is oblivious to the View. It provides a surface of abstraction from the point of a View and a Model, and one could think of it as a kind of interface on steroids. 

As an example, if we write a hotel booking application, the abstract interface (Presentation) - that is interactivity and perceivable state; user I/O - is defined separately. We may then develop several concrete projections (Views) that all use this interface, be it a CLI, desktop GUI or web application.

The Flex example provided in this article violates the fundamental idea of the Presentation Model pattern in that the View is hardwired to the Model.

On a side note, a canonical implementation of Presentation Model should decouple the the View from the ViewModel, and the ViewModel from the Model as well. This can be achieved by using interfaces and dependency injection, to name one approach.

Cheers!</description>
		<content:encoded><![CDATA[<p>The purpose of the Presentation Model pattern is to capture state and behaviour of Presentation independently of the View.</p>
<p>What this essentially means is that the View should be as oblivious to your Model, as the Model is oblivious to the View. It provides a surface of abstraction from the point of a View and a Model, and one could think of it as a kind of interface on steroids. </p>
<p>As an example, if we write a hotel booking application, the abstract interface (Presentation) &#8211; that is interactivity and perceivable state; user I/O &#8211; is defined separately. We may then develop several concrete projections (Views) that all use this interface, be it a CLI, desktop GUI or web application.</p>
<p>The Flex example provided in this article violates the fundamental idea of the Presentation Model pattern in that the View is hardwired to the Model.</p>
<p>On a side note, a canonical implementation of Presentation Model should decouple the the View from the ViewModel, and the ViewModel from the Model as well. This can be achieved by using interfaces and dependency injection, to name one approach.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Understanding the Model-View-ViewModel Pattern &#124; Alain Hufkens</title>
		<link>http://www.hufkens.net/2010/02/model-view-viewmodel-in-silverlight-and-flex/comment-page-1/#comment-804</link>
		<dc:creator>Understanding the Model-View-ViewModel Pattern &#124; Alain Hufkens</dc:creator>
		<pubDate>Tue, 23 Mar 2010 21:08:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.hufkens.net/?p=1184#comment-804</guid>
		<description>[...] post is a follow-up on my previous post concerning the Model-View-ViewModel Pattern in Silverlight. Laurent Bugnion (@LBugnion) talks about [...]</description>
		<content:encoded><![CDATA[<p>[...] post is a follow-up on my previous post concerning the Model-View-ViewModel Pattern in Silverlight. Laurent Bugnion (@LBugnion) talks about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Understanding the Model-View-ViewModel Pattern &#124; Alain Hufkens</title>
		<link>http://www.hufkens.net/2010/02/model-view-viewmodel-in-silverlight-and-flex/comment-page-1/#comment-803</link>
		<dc:creator>Understanding the Model-View-ViewModel Pattern &#124; Alain Hufkens</dc:creator>
		<pubDate>Tue, 23 Mar 2010 21:08:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.hufkens.net/?p=1184#comment-803</guid>
		<description>[...] post is a follow-up on my previous post concerning the Model-View-ViewModel Pattern in Silverlight. Laurent Bugnion (@LBugnion) talks about [...]</description>
		<content:encoded><![CDATA[<p>[...] post is a follow-up on my previous post concerning the Model-View-ViewModel Pattern in Silverlight. Laurent Bugnion (@LBugnion) talks about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Model-View-ViewModel in Silverlight and Flex &#124; Alain Hufkens -- Topsy.com</title>
		<link>http://www.hufkens.net/2010/02/model-view-viewmodel-in-silverlight-and-flex/comment-page-1/#comment-773</link>
		<dc:creator>Tweets that mention Model-View-ViewModel in Silverlight and Flex &#124; Alain Hufkens -- Topsy.com</dc:creator>
		<pubDate>Wed, 10 Feb 2010 00:16:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.hufkens.net/?p=1184#comment-773</guid>
		<description>[...] This post was mentioned on Twitter by Alain Hufkens, Flex Deutschland, Jason Hawgood, Larry King, Eriko Asaoka and others. Eriko Asaoka said: RT @shosuz: Model-View-ViewModel in Silverlight and Flex by Alain Hufkens http://bit.ly/bBqY3u [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Alain Hufkens, Flex Deutschland, Jason Hawgood, Larry King, Eriko Asaoka and others. Eriko Asaoka said: RT @shosuz: Model-View-ViewModel in Silverlight and Flex by Alain Hufkens <a href="http://bit.ly/bBqY3u" rel="nofollow">http://bit.ly/bBqY3u</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uberVU - social comments</title>
		<link>http://www.hufkens.net/2010/02/model-view-viewmodel-in-silverlight-and-flex/comment-page-1/#comment-772</link>
		<dc:creator>uberVU - social comments</dc:creator>
		<pubDate>Tue, 09 Feb 2010 18:18:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.hufkens.net/?p=1184#comment-772</guid>
		<description>&lt;strong&gt;Social comments and analytics for this post...&lt;/strong&gt;

This post was mentioned on Twitter by LKWave: Model-View-ViewModel in Silverlight and Flex &#124; Alain Hufkens http://bit.ly/bBqY3u #SL #RIA...</description>
		<content:encoded><![CDATA[<p><strong>Social comments and analytics for this post&#8230;</strong></p>
<p>This post was mentioned on Twitter by LKWave: Model-View-ViewModel in Silverlight and Flex | Alain Hufkens <a href="http://bit.ly/bBqY3u" rel="nofollow">http://bit.ly/bBqY3u</a> #SL #RIA&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
