<?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: Swiz example application with Passive View pattern</title>
	<atom:link href="http://www.benclinkinbeard.com/2009/10/swiz-example-application-with-passive-view-pattern/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benclinkinbeard.com/2009/10/swiz-example-application-with-passive-view-pattern/</link>
	<description></description>
	<lastBuildDate>Thu, 18 Mar 2010 12:48:25 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Swiz Passive View Example&#8230;Things I Like About Swiz &#124; Web App Solution Blog</title>
		<link>http://www.benclinkinbeard.com/2009/10/swiz-example-application-with-passive-view-pattern/comment-page-1/#comment-834</link>
		<dc:creator>Swiz Passive View Example&#8230;Things I Like About Swiz &#124; Web App Solution Blog</dc:creator>
		<pubDate>Wed, 06 Jan 2010 18:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.benclinkinbeard.com/?p=294#comment-834</guid>
		<description>[...] there are other examples of the PV + Swiz out there, like Ben Clinkenbeard&#8217;s example, but I went ahead and created an AbstractViewMediator that takes care of some race conditions when [...]</description>
		<content:encoded><![CDATA[<p>[...] there are other examples of the PV + Swiz out there, like Ben Clinkenbeard&#8217;s example, but I went ahead and created an AbstractViewMediator that takes care of some race conditions when [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.benclinkinbeard.com/2009/10/swiz-example-application-with-passive-view-pattern/comment-page-1/#comment-684</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 07 Dec 2009 04:26:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.benclinkinbeard.com/?p=294#comment-684</guid>
		<description>You&#039;re very welcome, Erich! Good luck on your project and be sure to hit up the mailing list (http://groups.google.com/group/swiz-framework) with any questions or comments.</description>
		<content:encoded><![CDATA[<p>You&#8217;re very welcome, Erich! Good luck on your project and be sure to hit up the mailing list (<a href="http://groups.google.com/group/swiz-framework" rel="nofollow">http://groups.google.com/group/swiz-framework</a>) with any questions or comments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erich Cervantez</title>
		<link>http://www.benclinkinbeard.com/2009/10/swiz-example-application-with-passive-view-pattern/comment-page-1/#comment-682</link>
		<dc:creator>Erich Cervantez</dc:creator>
		<pubDate>Mon, 07 Dec 2009 01:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.benclinkinbeard.com/?p=294#comment-682</guid>
		<description>Awesome article Ben!  Thanks so much for proving perspective on another pattern AND example code to boot!  Love it.  I&#039;ve used the Presentation model with Cairngorm quite a bit in the past and although I won&#039;t be switching to Passive View anytime soon, I appreciate your thoughts on it none the less.

I&#039;m in the process of creating a Flex social networking application (more to learn Flex 4 and Swiz than anything else) and I chose Swiz  purely because of the exuberance shown by those that believe in it, such as yourself.  Thanks a bunch.</description>
		<content:encoded><![CDATA[<p>Awesome article Ben!  Thanks so much for proving perspective on another pattern AND example code to boot!  Love it.  I&#8217;ve used the Presentation model with Cairngorm quite a bit in the past and although I won&#8217;t be switching to Passive View anytime soon, I appreciate your thoughts on it none the less.</p>
<p>I&#8217;m in the process of creating a Flex social networking application (more to learn Flex 4 and Swiz than anything else) and I chose Swiz  purely because of the exuberance shown by those that believe in it, such as yourself.  Thanks a bunch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Orlando</title>
		<link>http://www.benclinkinbeard.com/2009/10/swiz-example-application-with-passive-view-pattern/comment-page-1/#comment-595</link>
		<dc:creator>Dan Orlando</dc:creator>
		<pubDate>Thu, 15 Oct 2009 22:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.benclinkinbeard.com/?p=294#comment-595</guid>
		<description>You&#039;re the man Ben. I think the most valuable thing here is that Swiz does not force the developer into a specific architectural implementation.  This is proven by these examples, where you are taking  different enterprise architectures as identified by Martin Fowler (whom I have a lot of respect for) in his writings, and applying them to the same application using the Swiz framework. Case in point, developers can use Swiz and still implement design patterns that meet the needs of their specific application. This is not the case at all with most of the other frameworks, with the exception of Mate probably.</description>
		<content:encoded><![CDATA[<p>You&#8217;re the man Ben. I think the most valuable thing here is that Swiz does not force the developer into a specific architectural implementation.  This is proven by these examples, where you are taking  different enterprise architectures as identified by Martin Fowler (whom I have a lot of respect for) in his writings, and applying them to the same application using the Swiz framework. Case in point, developers can use Swiz and still implement design patterns that meet the needs of their specific application. This is not the case at all with most of the other frameworks, with the exception of Mate probably.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Penner</title>
		<link>http://www.benclinkinbeard.com/2009/10/swiz-example-application-with-passive-view-pattern/comment-page-1/#comment-587</link>
		<dc:creator>Robert Penner</dc:creator>
		<pubDate>Wed, 14 Oct 2009 17:24:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.benclinkinbeard.com/?p=294#comment-587</guid>
		<description>You may be right. I am seeing now that there is a spectrum between Passive View and Presentation Model.</description>
		<content:encoded><![CDATA[<p>You may be right. I am seeing now that there is a spectrum between Passive View and Presentation Model.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.benclinkinbeard.com/2009/10/swiz-example-application-with-passive-view-pattern/comment-page-1/#comment-592</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 14 Oct 2009 13:23:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.benclinkinbeard.com/?p=294#comment-592</guid>
		<description>I think that is a perfectly valid approach, but I don&#039;t think it qualifies as Passive View. I think PV takes things a bit too far, and would actually prefer something like what you describe.</description>
		<content:encoded><![CDATA[<p>I think that is a perfectly valid approach, but I don&#8217;t think it qualifies as Passive View. I think PV takes things a bit too far, and would actually prefer something like what you describe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristofer</title>
		<link>http://www.benclinkinbeard.com/2009/10/swiz-example-application-with-passive-view-pattern/comment-page-1/#comment-591</link>
		<dc:creator>Kristofer</dc:creator>
		<pubDate>Wed, 14 Oct 2009 11:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.benclinkinbeard.com/?p=294#comment-591</guid>
		<description>Very interesting article!
I&#039;ve (kind of) recently discovered Swiz and must say I&#039;m impressed with what I&#039;ve seen. I&#039;m used to Java development with Spring, so Swiz is obviously looking good to me. Examples like these make it easier to figure out how to apply it to your own applications. Keep it up! ;)</description>
		<content:encoded><![CDATA[<p>Very interesting article!<br />
I&#8217;ve (kind of) recently discovered Swiz and must say I&#8217;m impressed with what I&#8217;ve seen. I&#8217;m used to Java development with Spring, so Swiz is obviously looking good to me. Examples like these make it easier to figure out how to apply it to your own applications. Keep it up! <img src='http://www.benclinkinbeard.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Penner</title>
		<link>http://www.benclinkinbeard.com/2009/10/swiz-example-application-with-passive-view-pattern/comment-page-1/#comment-593</link>
		<dc:creator>Robert Penner</dc:creator>
		<pubDate>Wed, 14 Oct 2009 05:57:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.benclinkinbeard.com/?p=294#comment-593</guid>
		<description>I would probably have the view put an Employee instance into an EmployeeEvent event, maybe EmployeeEvent.SAVE event, and dispatch it.</description>
		<content:encoded><![CDATA[<p>I would probably have the view put an Employee instance into an EmployeeEvent event, maybe EmployeeEvent.SAVE event, and dispatch it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.benclinkinbeard.com/2009/10/swiz-example-application-with-passive-view-pattern/comment-page-1/#comment-594</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 14 Oct 2009 02:25:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.benclinkinbeard.com/?p=294#comment-594</guid>
		<description>Hey Robert,

How would you wire up the buttons&#039; click handlers and other view handlers then?

I agree that selectedEmployee could probably be moved into the view as you and Troy both suggest, but the mediator would still have to access the text properties of the inputs in order to update the model in response to a save action. In my opinion, if the mediator has to reach in in one instance, why not just let it do it in all instances and keep the view completely dumb?

I also agree Passive View is a good candidate if there is a lot of round-tripping between designer and developer, but would hope I could figure out something closer to Presentation Model if that scenario arose. :)

Thanks for reading and commenting,
Ben</description>
		<content:encoded><![CDATA[<p>Hey Robert,</p>
<p>How would you wire up the buttons&#8217; click handlers and other view handlers then?</p>
<p>I agree that selectedEmployee could probably be moved into the view as you and Troy both suggest, but the mediator would still have to access the text properties of the inputs in order to update the model in response to a save action. In my opinion, if the mediator has to reach in in one instance, why not just let it do it in all instances and keep the view completely dumb?</p>
<p>I also agree Passive View is a good candidate if there is a lot of round-tripping between designer and developer, but would hope I could figure out something closer to Presentation Model if that scenario arose. <img src='http://www.benclinkinbeard.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks for reading and commenting,<br />
Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Penner</title>
		<link>http://www.benclinkinbeard.com/2009/10/swiz-example-application-with-passive-view-pattern/comment-page-1/#comment-590</link>
		<dc:creator>Robert Penner</dc:creator>
		<pubDate>Wed, 14 Oct 2009 01:46:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.benclinkinbeard.com/?p=294#comment-590</guid>
		<description>Hi Ben,
Thanks for putting these examples together for comparison between PM and PV. The code is easy to follow and the comments help me understand how Swiz works.

With Passive View, I personally wouldn&#039;t reach into the view&#039;s datagrid and buttons. I would stick to one dot and not violate the Law of Demeter. For example, I would move your Mediator&#039;s selectedEmployee() setter into the view. This would help you avoid the creepiness of digging around in the view&#039;s guts.

I like how super-clean the view code is. Like Troy, I have views created in Flash, so Passive View helps with designer/developer workflow.</description>
		<content:encoded><![CDATA[<p>Hi Ben,<br />
Thanks for putting these examples together for comparison between PM and PV. The code is easy to follow and the comments help me understand how Swiz works.</p>
<p>With Passive View, I personally wouldn&#8217;t reach into the view&#8217;s datagrid and buttons. I would stick to one dot and not violate the Law of Demeter. For example, I would move your Mediator&#8217;s selectedEmployee() setter into the view. This would help you avoid the creepiness of digging around in the view&#8217;s guts.</p>
<p>I like how super-clean the view code is. Like Troy, I have views created in Flash, so Passive View helps with designer/developer workflow.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
