<?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: Separation of Concerns while programming WPF with XAML</title>
	<atom:link href="http://blog.lab49.com/archives/182/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.lab49.com/archives/182</link>
	<description>Technology and industry insights from Lab49.</description>
	<lastBuildDate>Sat, 24 Sep 2011 08:33:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Terry Sansom</title>
		<link>http://blog.lab49.com/archives/182/comment-page-1#comment-54453</link>
		<dc:creator>Terry Sansom</dc:creator>
		<pubDate>Fri, 18 May 2007 03:48:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lab49.com/?p=182#comment-54453</guid>
		<description>I’ve been working with XAML for a variety of applications, and could not agree with you more about the importance of discipline when deciding on how much code should be written on the XAML side, or kept on the C# side.  I’ve not run any rendering performance tests but I’d be curious to know if there is any rendering differences.

I also think the discipline of presentation to business logic is actually improved with XAML: We now we have a language that is fully capable of generating a rich user experience, and we can focus our C# efforts on your business and data abstraction layers.  Then again I’ve written a handful of converters to assist the UI in consuming the business logic.   I hated XAML in the beginning but now with 6 months under my belt, I’m considering rewriting several legacy applications in WPF.</description>
		<content:encoded><![CDATA[<p>I’ve been working with XAML for a variety of applications, and could not agree with you more about the importance of discipline when deciding on how much code should be written on the XAML side, or kept on the C# side.  I’ve not run any rendering performance tests but I’d be curious to know if there is any rendering differences.</p>
<p>I also think the discipline of presentation to business logic is actually improved with XAML: We now we have a language that is fully capable of generating a rich user experience, and we can focus our C# efforts on your business and data abstraction layers.  Then again I’ve written a handful of converters to assist the UI in consuming the business logic.   I hated XAML in the beginning but now with 6 months under my belt, I’m considering rewriting several legacy applications in WPF.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry Sansom</title>
		<link>http://blog.lab49.com/archives/182/comment-page-1#comment-54451</link>
		<dc:creator>Terry Sansom</dc:creator>
		<pubDate>Fri, 18 May 2007 03:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lab49.com/?p=182#comment-54451</guid>
		<description>I’ve been working with XAML for a variety of applications, and could not agree with you more about the importance of discipline when deciding on how much code should be written on the XAML side, or kept on the C# side.  I’ve not run any rendering performance tests but I’d be curious to know if there is any rendering differences.

I also think the discipline of presentation to business logic is actually improved with XAML: We now we have a language that is fully capable of generating a rich user experience, and we can focus our C# efforts on your business and data abstraction layers.  Then again I’ve written a handful of converters to assist the UI in consuming the business logic.   I hated XAML in the beginning but now with 6 months under my belt, I’m consirering rewriting several legacy applications in WPF.</description>
		<content:encoded><![CDATA[<p>I’ve been working with XAML for a variety of applications, and could not agree with you more about the importance of discipline when deciding on how much code should be written on the XAML side, or kept on the C# side.  I’ve not run any rendering performance tests but I’d be curious to know if there is any rendering differences.</p>
<p>I also think the discipline of presentation to business logic is actually improved with XAML: We now we have a language that is fully capable of generating a rich user experience, and we can focus our C# efforts on your business and data abstraction layers.  Then again I’ve written a handful of converters to assist the UI in consuming the business logic.   I hated XAML in the beginning but now with 6 months under my belt, I’m consirering rewriting several legacy applications in WPF.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manung</title>
		<link>http://blog.lab49.com/archives/182/comment-page-1#comment-361</link>
		<dc:creator>manung</dc:creator>
		<pubDate>Fri, 09 Dec 2005 15:56:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lab49.com/?p=182#comment-361</guid>
		<description>In essence, yes XAML is a kind of serialization format.

I have read an open debate on whether XAML would make a good generic XML serialization format besided being used for WPF and WWF.  But I guess we will have to wait and see how XAML shapes up in the future.</description>
		<content:encoded><![CDATA[<p>In essence, yes XAML is a kind of serialization format.</p>
<p>I have read an open debate on whether XAML would make a good generic XML serialization format besided being used for WPF and WWF.  But I guess we will have to wait and see how XAML shapes up in the future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damien Morton</title>
		<link>http://blog.lab49.com/archives/182/comment-page-1#comment-254</link>
		<dc:creator>Damien Morton</dc:creator>
		<pubDate>Tue, 06 Dec 2005 15:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lab49.com/?p=182#comment-254</guid>
		<description>manung - so what youre saying is that XAML is a kind of serialization format?</description>
		<content:encoded><![CDATA[<p>manung &#8211; so what youre saying is that XAML is a kind of serialization format?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manung</title>
		<link>http://blog.lab49.com/archives/182/comment-page-1#comment-250</link>
		<dc:creator>manung</dc:creator>
		<pubDate>Mon, 05 Dec 2005 18:28:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lab49.com/?p=182#comment-250</guid>
		<description>Yep,

As I paraphrase Don Box here ... All XAML is an XML Binding to .NET objects.  No more no less.

In essence XAML is good for declaring objects and there dependencies.

Note that XAML is not only for presentation, but could be used in other paradigms in which you need to declare objects and their interdependencies.  XAML makes it easier to create Visual Designers for these object declarations.   For example one good candidate is workflow, hence WWF.

I am still thinking how XAML could fit into another growing Software Engineering pattern of Inversion of Control and Dependency Injection.  Right now I am leaning toward that XAML was not design for IoC and DI, but could be used as a tool for it along with some othere classes in the .NET Framework.

As of now like everyone said above, you can declare your objects in XAML, but the behavior of those objects all goes &quot;behind&quot;.</description>
		<content:encoded><![CDATA[<p>Yep,</p>
<p>As I paraphrase Don Box here &#8230; All XAML is an XML Binding to .NET objects.  No more no less.</p>
<p>In essence XAML is good for declaring objects and there dependencies.</p>
<p>Note that XAML is not only for presentation, but could be used in other paradigms in which you need to declare objects and their interdependencies.  XAML makes it easier to create Visual Designers for these object declarations.   For example one good candidate is workflow, hence WWF.</p>
<p>I am still thinking how XAML could fit into another growing Software Engineering pattern of Inversion of Control and Dependency Injection.  Right now I am leaning toward that XAML was not design for IoC and DI, but could be used as a tool for it along with some othere classes in the .NET Framework.</p>
<p>As of now like everyone said above, you can declare your objects in XAML, but the behavior of those objects all goes &#8220;behind&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Finke</title>
		<link>http://blog.lab49.com/archives/182/comment-page-1#comment-249</link>
		<dc:creator>Doug Finke</dc:creator>
		<pubDate>Mon, 05 Dec 2005 16:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lab49.com/?p=182#comment-249</guid>
		<description>Cider
Cider is a XAML design time editor within Visual Studio. 
Visual Studio will have intellisense on the XAML and will keep the XAML and cider surface in sync. 
In fact, the internal XAML formatting is also preserved by Cider. 
This is what a developer would use to build the code behind a XAML UI.

Video of Cider Demo
http://channel9.msdn.com/showpost.aspx?postid=129619&amp;pvrid=152</description>
		<content:encoded><![CDATA[<p>Cider<br />
Cider is a XAML design time editor within Visual Studio.<br />
Visual Studio will have intellisense on the XAML and will keep the XAML and cider surface in sync.<br />
In fact, the internal XAML formatting is also preserved by Cider.<br />
This is what a developer would use to build the code behind a XAML UI.</p>
<p>Video of Cider Demo<br />
<a href="http://channel9.msdn.com/showpost.aspx?postid=129619&amp;pvrid=152" rel="nofollow">http://channel9.msdn.com/showpost.aspx?postid=129619&amp;pvrid=152</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tyler</title>
		<link>http://blog.lab49.com/archives/182/comment-page-1#comment-248</link>
		<dc:creator>Tyler</dc:creator>
		<pubDate>Mon, 05 Dec 2005 15:27:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lab49.com/?p=182#comment-248</guid>
		<description>yup, let&#039;s hope that the world chooses wisely.</description>
		<content:encoded><![CDATA[<p>yup, let&#8217;s hope that the world chooses wisely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Dolinger</title>
		<link>http://blog.lab49.com/archives/182/comment-page-1#comment-247</link>
		<dc:creator>Jason Dolinger</dc:creator>
		<pubDate>Mon, 05 Dec 2005 15:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lab49.com/?p=182#comment-247</guid>
		<description>Tyler, I agree with you, I hope that is the case.  It seems that XAML will provide a good way to separate the presentation.  It&#039;s not necessarily what XAML/WPF provides, it&#039;s how we choose to use it.</description>
		<content:encoded><![CDATA[<p>Tyler, I agree with you, I hope that is the case.  It seems that XAML will provide a good way to separate the presentation.  It&#8217;s not necessarily what XAML/WPF provides, it&#8217;s how we choose to use it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tyler</title>
		<link>http://blog.lab49.com/archives/182/comment-page-1#comment-246</link>
		<dc:creator>Tyler</dc:creator>
		<pubDate>Mon, 05 Dec 2005 15:19:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lab49.com/?p=182#comment-246</guid>
		<description>ugh, as someone who has written XSLT and attempted to develop applications that users have to interact with I find this a bit unnerving.  Coding logic in an XML framework is truly a miserable undertaking (unless it is uses the  javascript methodology, but why go down that road?!?!) and I was hoping that XAML might actually help separate the presentation.

I was also thinking that because in .NET 2.0 the concept of partial files allows the presentation to be split into a different file than the logic, this presentation part could be written in XAML.  Maybe this is actually the case in how cider and sparkle work.</description>
		<content:encoded><![CDATA[<p>ugh, as someone who has written XSLT and attempted to develop applications that users have to interact with I find this a bit unnerving.  Coding logic in an XML framework is truly a miserable undertaking (unless it is uses the  javascript methodology, but why go down that road?!?!) and I was hoping that XAML might actually help separate the presentation.</p>
<p>I was also thinking that because in .NET 2.0 the concept of partial files allows the presentation to be split into a different file than the logic, this presentation part could be written in XAML.  Maybe this is actually the case in how cider and sparkle work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Flemmer</title>
		<link>http://blog.lab49.com/archives/182/comment-page-1#comment-245</link>
		<dc:creator>Luke Flemmer</dc:creator>
		<pubDate>Sat, 03 Dec 2005 15:57:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lab49.com/?p=182#comment-245</guid>
		<description>I agree; the tendency to do it all in the XAML is something that has bothered me too. The only reason that a world in which all code lives in XAML instead of living in the form&#039;s C# would be (slightly) better is that XAML is more declarative than imperative. That being said, I do believe that the patterns that will be successful will be those that treat the XAML as declarative view definition, with a .NET model behind it.</description>
		<content:encoded><![CDATA[<p>I agree; the tendency to do it all in the XAML is something that has bothered me too. The only reason that a world in which all code lives in XAML instead of living in the form&#8217;s C# would be (slightly) better is that XAML is more declarative than imperative. That being said, I do believe that the patterns that will be successful will be those that treat the XAML as declarative view definition, with a .NET model behind it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

