<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Presentation Model Thoughts</title><link>http://blogs.msdn.com/b/mswanson/archive/2004/10/28/249323.aspx</link><description>I'm currently spending time on a user interface framework for the 2005 version ("Whidbey") of Windows Forms. Yesterday, I tried to implement a version of Martin Fowler 's Presentation Model and incorporate it into my existing architecture. Part of my</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Presentation Model Thoughts</title><link>http://blogs.msdn.com/b/mswanson/archive/2004/10/28/249323.aspx#250758</link><pubDate>Mon, 01 Nov 2004 23:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:250758</guid><dc:creator>Michael Swanson</dc:creator><description>Ray...Sounds like an implementation of the Memento design pattern, which works well in Undo/Redo situations.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=250758" width="1" height="1"&gt;</description></item><item><title>re: Presentation Model Thoughts</title><link>http://blogs.msdn.com/b/mswanson/archive/2004/10/28/249323.aspx#250755</link><pubDate>Mon, 01 Nov 2004 23:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:250755</guid><dc:creator>Ray Klaassen</dc:creator><description>The business objects that I showed you when you visited (Rocky Lhotlka's CSLA framework) has all the rules in the business object but also implements multi-level undo.  The initial state of the business object is serialized and persisted, while databinding handless changes to the &amp;quot;current&amp;quot; business object.  If you want your UI to allow the user to set &amp;quot;bookmark&amp;quot; point, the framework serializes the object again allowiing the user to save changes, undo to the bookmark or undo to the initial state of the business object.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=250755" width="1" height="1"&gt;</description></item><item><title>re: Presentation Model Thoughts</title><link>http://blogs.msdn.com/b/mswanson/archive/2004/10/28/249323.aspx#249406</link><pubDate>Fri, 29 Oct 2004 07:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:249406</guid><dc:creator>Michael Swanson</dc:creator><description>Thanks for the feedback, Fredrik. I like your idea of an XML mapping between the presentation and its associated behavior. However, I'm trying to leverage the Visual Studio 2005 IDE where possible (for the developer productivity benefits), and forcing a developer into an XML mapping file might be a little more than they would bargain for. On the other hand, it might be a good excuse to write a designer for Visual Studio that handles the dirty work visually. Now you have me thinking. :)&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=249406" width="1" height="1"&gt;</description></item><item><title>re: Presentation Model Thoughts</title><link>http://blogs.msdn.com/b/mswanson/archive/2004/10/28/249323.aspx#249398</link><pubDate>Fri, 29 Oct 2004 07:27:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:249398</guid><dc:creator>Fredrik Normén</dc:creator><description>Hi Michael,&lt;br&gt;&lt;br&gt;For a week ago I talked to Fowler about removing the synchronizer method to use a UI mapper instead to fill our domain objects, he thought that sounds like a good approached. The problem with the Presentation Model is that we have to write our synchronizer method for getting the user inputs and also setting the value of our controls. With a UI mapper we could easy map controls to any kind of object and specify the mapping in an XML file. By doing this we don't need to manually create the synchronizer method, instead we could use a UI mapper that will set the Presentation Model's property for us.&lt;br&gt;&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=249398" width="1" height="1"&gt;</description></item></channel></rss>