<?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 Presentation Model pattern</title>
	<atom:link href="http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/</link>
	<description></description>
	<lastBuildDate>Mon, 16 Aug 2010 08:29:49 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Roberto</title>
		<link>http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/comment-page-1/#comment-1074</link>
		<dc:creator>Roberto</dc:creator>
		<pubDate>Mon, 16 Aug 2010 08:29:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/?p=106#comment-1074</guid>
		<description>Hi Ben, in the new Swiz documentation is this Presentation Model explained without the interfaces.  Is there any purpose, you have been using this interfaces?  I mean, I can imagine you could create different Presentation-Models with different implementations or maybe for Unit-Tests.
Thanks for your comments.
roberto</description>
		<content:encoded><![CDATA[<p>Hi Ben, in the new Swiz documentation is this Presentation Model explained without the interfaces.  Is there any purpose, you have been using this interfaces?  I mean, I can imagine you could create different Presentation-Models with different implementations or maybe for Unit-Tests.<br />
Thanks for your comments.<br />
roberto</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hay Tran</title>
		<link>http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/comment-page-1/#comment-1067</link>
		<dc:creator>Hay Tran</dc:creator>
		<pubDate>Fri, 13 Aug 2010 17:45:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/?p=106#comment-1067</guid>
		<description>Hi Ben,  

Thanks for the example and source code.  However,  it looks like the sample source code is still written for swiz-0.6.1, which is not available for download on swiz web site.

It would be good if there are zip archive of the sample code for each never version of the swiz release, especially the most current one, 1.0-RC1.

Regards,</description>
		<content:encoded><![CDATA[<p>Hi Ben,  </p>
<p>Thanks for the example and source code.  However,  it looks like the sample source code is still written for swiz-0.6.1, which is not available for download on swiz web site.</p>
<p>It would be good if there are zip archive of the sample code for each never version of the swiz release, especially the most current one, 1.0-RC1.</p>
<p>Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daslicht</title>
		<link>http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/comment-page-1/#comment-1008</link>
		<dc:creator>daslicht</dc:creator>
		<pubDate>Sun, 06 Jun 2010 15:54:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/?p=106#comment-1008</guid>
		<description>When I import that project into Flash Builder 4 using the SDK3.5 I get :

Description	Resource	Path	Location	Type
Design mode: Cannot load swiz-0.6.1.b2.swc (reason: ERROR: Load Verify). It may require classes (such as Adobe AIR components) that are not supported by design mode. Check the Eclipse error log for more details.	SwizUserAdmin.mxml	/SwizUserAdmin/src	Unknown	Problem

When I create a news Project import SWIZ RC1 using SDK4.1 I get similar SDK errors.

How to use SWIZ with Flash Builder 4?</description>
		<content:encoded><![CDATA[<p>When I import that project into Flash Builder 4 using the SDK3.5 I get :</p>
<p>Description	Resource	Path	Location	Type<br />
Design mode: Cannot load swiz-0.6.1.b2.swc (reason: ERROR: Load Verify). It may require classes (such as Adobe AIR components) that are not supported by design mode. Check the Eclipse error log for more details.	SwizUserAdmin.mxml	/SwizUserAdmin/src	Unknown	Problem</p>
<p>When I create a news Project import SWIZ RC1 using SDK4.1 I get similar SDK errors.</p>
<p>How to use SWIZ with Flash Builder 4?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Tomich - Learning Swiz</title>
		<link>http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/comment-page-1/#comment-939</link>
		<dc:creator>Matthew Tomich - Learning Swiz</dc:creator>
		<pubDate>Fri, 09 Apr 2010 17:28:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/?p=106#comment-939</guid>
		<description>[...] b) http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/ Ben Clinkinbeard&#039;s example. [...]</description>
		<content:encoded><![CDATA[<p>[...] b) <a href="http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/" rel="nofollow">http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/</a> Ben Clinkinbeard&#39;s example. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Petfinder.com App with Flex / Swiz Source Code &#124; Eric Terpstra</title>
		<link>http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/comment-page-1/#comment-932</link>
		<dc:creator>Petfinder.com App with Flex / Swiz Source Code &#124; Eric Terpstra</dc:creator>
		<pubDate>Sat, 03 Apr 2010 06:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/?p=106#comment-932</guid>
		<description>[...] for a few handy pointers and putting up with my questions.&#160; Also, thanks to David Tucker, Ben Clinkenbeard, Brian Kotek, and Richard Lord for instruction and [...]</description>
		<content:encoded><![CDATA[<p>[...] for a few handy pointers and putting up with my questions.&nbsp; Also, thanks to David Tucker, Ben Clinkenbeard, Brian Kotek, and Richard Lord for instruction and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/comment-page-1/#comment-878</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Fri, 19 Feb 2010 00:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/?p=106#comment-878</guid>
		<description>That is correct, Neil. My only addendum to that is I usually just have the PM dispatch an event (using Swiz&#039;s system dispatcher) rather than having the PM directly reference the controller or command. Some people don&#039;t like that though and do it exactly as you said. I think either way is fine, and its just a matter of personal preference.</description>
		<content:encoded><![CDATA[<p>That is correct, Neil. My only addendum to that is I usually just have the PM dispatch an event (using Swiz&#8217;s system dispatcher) rather than having the PM directly reference the controller or command. Some people don&#8217;t like that though and do it exactly as you said. I think either way is fine, and its just a matter of personal preference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nwebb</title>
		<link>http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/comment-page-1/#comment-873</link>
		<dc:creator>nwebb</dc:creator>
		<pubDate>Thu, 18 Feb 2010 09:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/?p=106#comment-873</guid>
		<description>Thanks, I think that makes sense (but I agree, an elaborated example/post would be a great idea given the interest).

&quot;mvp&quot; - oops, that&#039;s me displaying my ignorance. I made an assumption that presenter = presentation model. Okay, so knowing that it&#039;s meant to be mvc + pm clears things up a little.

If I do understand you properly: the PM would have a reference to both a controller/command and the main model (or at least properties of the main model), and the controller/command would have a reference to the main model  (or properties of it). The PM would update the model unless external data was required, in which case the controller /command would get the data and update the model.

If that&#039;s not right let me know, else thanks very much for providing some clarification :)</description>
		<content:encoded><![CDATA[<p>Thanks, I think that makes sense (but I agree, an elaborated example/post would be a great idea given the interest).</p>
<p>&#8220;mvp&#8221; &#8211; oops, that&#8217;s me displaying my ignorance. I made an assumption that presenter = presentation model. Okay, so knowing that it&#8217;s meant to be mvc + pm clears things up a little.</p>
<p>If I do understand you properly: the PM would have a reference to both a controller/command and the main model (or at least properties of the main model), and the controller/command would have a reference to the main model  (or properties of it). The PM would update the model unless external data was required, in which case the controller /command would get the data and update the model.</p>
<p>If that&#8217;s not right let me know, else thanks very much for providing some clarification <img src='http://www.benclinkinbeard.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/comment-page-1/#comment-870</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 17 Feb 2010 20:47:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/?p=106#comment-870</guid>
		<description>Hey Neil,

I&#039;ve not researched MVP much at all, so am not 100% sure how it differs from MVC and PM. I don&#039;t see PMs as alternatives to Controllers at all. I view PMs as more of a model adapter, whose purpose is to serve one or more views and present data to them, and provide an API to them in a semantically meaningful way.

So, a PM might expose a method called getContacts(), but behind the scenes it dispatches an event that is handled by a controller, or calls a method directly on a controller, and the controller in turn calls a service. When the service returns the controller (or a command, if you prefer) sets data on a model. One or more presentation models are generally bound to these larger, more general models in order to populate their local, semantically meaningful properties.

That was a mouthful, but hopefully it makes sense. I am starting to think maybe I should write a post about my approach to presentation models, since it seems to be a fairly common topic lately. Perhaps I will. :)

Ben</description>
		<content:encoded><![CDATA[<p>Hey Neil,</p>
<p>I&#8217;ve not researched MVP much at all, so am not 100% sure how it differs from MVC and PM. I don&#8217;t see PMs as alternatives to Controllers at all. I view PMs as more of a model adapter, whose purpose is to serve one or more views and present data to them, and provide an API to them in a semantically meaningful way.</p>
<p>So, a PM might expose a method called getContacts(), but behind the scenes it dispatches an event that is handled by a controller, or calls a method directly on a controller, and the controller in turn calls a service. When the service returns the controller (or a command, if you prefer) sets data on a model. One or more presentation models are generally bound to these larger, more general models in order to populate their local, semantically meaningful properties.</p>
<p>That was a mouthful, but hopefully it makes sense. I am starting to think maybe I should write a post about my approach to presentation models, since it seems to be a fairly common topic lately. Perhaps I will. <img src='http://www.benclinkinbeard.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nwebb</title>
		<link>http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/comment-page-1/#comment-869</link>
		<dc:creator>nwebb</dc:creator>
		<pubDate>Wed, 17 Feb 2010 14:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/?p=106#comment-869</guid>
		<description>Hey Ben, 

I was thinking about your reply to James&#039;s comment above and it raised a question ... 

PresentationModels seem to take the place of controllers in MVP so I&#039;ve been essentially viewing them as alternatives to controllers (I know they differ, but for the most part that&#039;s how I&#039;ve been thinking of them) . 

However, looking at the Swiz ServiceLayer example (http://bit.ly/9jzlZQ) it is the controller which possesses the IResponder&#039;s result/fault handlers.

If PMs are basically alternatives to Controllers, and these handlers don&#039;t belong in PMs (I agree, that seems wrong) do you have a recommended setup that works well in practise?

Thanks,
Neil</description>
		<content:encoded><![CDATA[<p>Hey Ben, </p>
<p>I was thinking about your reply to James&#8217;s comment above and it raised a question &#8230; </p>
<p>PresentationModels seem to take the place of controllers in MVP so I&#8217;ve been essentially viewing them as alternatives to controllers (I know they differ, but for the most part that&#8217;s how I&#8217;ve been thinking of them) . </p>
<p>However, looking at the Swiz ServiceLayer example (<a href="http://bit.ly/9jzlZQ" rel="nofollow">http://bit.ly/9jzlZQ</a>) it is the controller which possesses the IResponder&#8217;s result/fault handlers.</p>
<p>If PMs are basically alternatives to Controllers, and these handlers don&#8217;t belong in PMs (I agree, that seems wrong) do you have a recommended setup that works well in practise?</p>
<p>Thanks,<br />
Neil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nwebb &#187; A Few Swiz Tips For Beginners</title>
		<link>http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/comment-page-1/#comment-868</link>
		<dc:creator>nwebb &#187; A Few Swiz Tips For Beginners</dc:creator>
		<pubDate>Wed, 17 Feb 2010 14:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/?p=106#comment-868</guid>
		<description>[...] pose much of an issue (although there would still be better places to put this code, such as in the presentation model if you are using [...]</description>
		<content:encoded><![CDATA[<p>[...] pose much of an issue (although there would still be better places to put this code, such as in the presentation model if you are using [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
