<?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: Fluent Silverlight – Part 1</title>
	<atom:link href="http://lostechies.com/gabrielschenker/2009/05/31/fluent-silverlight-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/gabrielschenker/2009/05/31/fluent-silverlight-part-1/</link>
	<description>Blog about architectural patterns, best practices, coding principles and techniques</description>
	<lastBuildDate>Wed, 22 May 2013 12:15:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Ashish</title>
		<link>http://lostechies.com/gabrielschenker/2009/05/31/fluent-silverlight-part-1/#comment-155</link>
		<dc:creator>Ashish</dc:creator>
		<pubDate>Mon, 21 Sep 2009 05:35:02 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/06/01/fluent-silverlight-part-1.aspx#comment-155</guid>
		<description>Nice articles, thanks. </description>
		<content:encoded><![CDATA[<p>Nice articles, thanks. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross</title>
		<link>http://lostechies.com/gabrielschenker/2009/05/31/fluent-silverlight-part-1/#comment-154</link>
		<dc:creator>Ross</dc:creator>
		<pubDate>Thu, 20 Aug 2009 18:21:50 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/06/01/fluent-silverlight-part-1.aspx#comment-154</guid>
		<description>Any chance that you&#039;ll be adding support for other controls soon...like ComboBox?</description>
		<content:encoded><![CDATA[<p>Any chance that you&#8217;ll be adding support for other controls soon&#8230;like ComboBox?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://lostechies.com/gabrielschenker/2009/05/31/fluent-silverlight-part-1/#comment-153</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 03 Jun 2009 09:34:59 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/06/01/fluent-silverlight-part-1.aspx#comment-153</guid>
		<description>Nice</description>
		<content:encoded><![CDATA[<p>Nice</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel N. Schenker</title>
		<link>http://lostechies.com/gabrielschenker/2009/05/31/fluent-silverlight-part-1/#comment-152</link>
		<dc:creator>Gabriel N. Schenker</dc:creator>
		<pubDate>Tue, 02 Jun 2009 21:18:38 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/06/01/fluent-silverlight-part-1.aspx#comment-152</guid>
		<description>@Fabian: validation is a concern we have not adressed so far but it is definitely on our pending list. But with our approach of data binding we are certainly on safe grounds and we will be able to extend the framework to include validation</description>
		<content:encoded><![CDATA[<p>@Fabian: validation is a concern we have not adressed so far but it is definitely on our pending list. But with our approach of data binding we are certainly on safe grounds and we will be able to extend the framework to include validation</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabian</title>
		<link>http://lostechies.com/gabrielschenker/2009/05/31/fluent-silverlight-part-1/#comment-151</link>
		<dc:creator>Fabian</dc:creator>
		<pubDate>Tue, 02 Jun 2009 15:14:08 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/06/01/fluent-silverlight-part-1.aspx#comment-151</guid>
		<description>How do you guys deal with validations, by validations I refer to checks that need to be performed so the view does not let something happen that should be be. e.g. user wants to enter a end date that is less than the start date. Obviously we might not want to have this validation in the View. Then a choice would be the View Model, but then how would the View Model react and notify the Presenter or View on what the problem is? That seems to be a very tricky set of actions and responses.

Thanks</description>
		<content:encoded><![CDATA[<p>How do you guys deal with validations, by validations I refer to checks that need to be performed so the view does not let something happen that should be be. e.g. user wants to enter a end date that is less than the start date. Obviously we might not want to have this validation in the View. Then a choice would be the View Model, but then how would the View Model react and notify the Presenter or View on what the problem is? That seems to be a very tricky set of actions and responses.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Merill Fernando</title>
		<link>http://lostechies.com/gabrielschenker/2009/05/31/fluent-silverlight-part-1/#comment-150</link>
		<dc:creator>Merill Fernando</dc:creator>
		<pubDate>Tue, 02 Jun 2009 02:19:15 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/06/01/fluent-silverlight-part-1.aspx#comment-150</guid>
		<description>Cool. This is excellent stuff.

One warning though, if one of the goals of using WPF/Silverlight was to have designer&#039;s own the UI and for the devs to own the business logic you should be careful about what you put in the code. For example the changing the label above would require a code change whereas if it were in xaml the designer could change it themselves.

Another example is if the the designers wanted to change the commands from being a command button to a drop-down menu or some other control, they wouldn&#039;t be able to in this instance.</description>
		<content:encoded><![CDATA[<p>Cool. This is excellent stuff.</p>
<p>One warning though, if one of the goals of using WPF/Silverlight was to have designer&#8217;s own the UI and for the devs to own the business logic you should be careful about what you put in the code. For example the changing the label above would require a code change whereas if it were in xaml the designer could change it themselves.</p>
<p>Another example is if the the designers wanted to change the commands from being a command button to a drop-down menu or some other control, they wouldn&#8217;t be able to in this instance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel N. Schenker</title>
		<link>http://lostechies.com/gabrielschenker/2009/05/31/fluent-silverlight-part-1/#comment-149</link>
		<dc:creator>Gabriel N. Schenker</dc:creator>
		<pubDate>Mon, 01 Jun 2009 20:32:49 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/06/01/fluent-silverlight-part-1.aspx#comment-149</guid>
		<description>@Sandor: we do not use tools like Blend to design our UI. We have a very specific UI which is hierarchical and highly dynamic - not the UI that those tools are made for. This is the reason why for us XAML has (nearly) no advanatages but only the known disadvatages (not wrist friendly, not strongly typed, etc.)</description>
		<content:encoded><![CDATA[<p>@Sandor: we do not use tools like Blend to design our UI. We have a very specific UI which is hierarchical and highly dynamic &#8211; not the UI that those tools are made for. This is the reason why for us XAML has (nearly) no advanatages but only the known disadvatages (not wrist friendly, not strongly typed, etc.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandor Davidhazi</title>
		<link>http://lostechies.com/gabrielschenker/2009/05/31/fluent-silverlight-part-1/#comment-148</link>
		<dc:creator>Sandor Davidhazi</dc:creator>
		<pubDate>Mon, 01 Jun 2009 18:21:31 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/06/01/fluent-silverlight-part-1.aspx#comment-148</guid>
		<description>I&#039;ve been working on a LOB Silverlight application using the MVVM pattern and I can sincerely say that if this framework works as advertised here, it will revolutionize implementing the MVVM pattern.


Some notes and questions:

1. I don&#039;t think that defining an interface layout should be done in the code behind. Blend works with the xaml file, and also does Visual Studio, but they won&#039;t be able to work with properties that were set in the code-behind.

2. I didn&#039;t understand why people insist on defining everything in xaml, and celebrate that with commands they can implement event handling in the code-behind. I don&#039;t think a designer has anything to do with implementing functionality, and he would never mess with rewiring a usercontrol&#039;s events to commands.
Your whole idea of placing binding logic into the code behind just feels right! Not to mention how awesome it is to use a well designed fluent interface, and strong variable references to do that!

3. Can you pass parameters to commands?

4. How do you define the converter for the bindings?

I&#039;m really looking forward for the coming posts, because MVVM development in Silverlight is really a PITA. Everybody is hyping the MVVM pattern, but really when it comes down to implementing it in a real-world, complex application, you have to face serious limitations and writing messy code. It just isn&#039;t fun.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been working on a LOB Silverlight application using the MVVM pattern and I can sincerely say that if this framework works as advertised here, it will revolutionize implementing the MVVM pattern.</p>
<p>Some notes and questions:</p>
<p>1. I don&#8217;t think that defining an interface layout should be done in the code behind. Blend works with the xaml file, and also does Visual Studio, but they won&#8217;t be able to work with properties that were set in the code-behind.</p>
<p>2. I didn&#8217;t understand why people insist on defining everything in xaml, and celebrate that with commands they can implement event handling in the code-behind. I don&#8217;t think a designer has anything to do with implementing functionality, and he would never mess with rewiring a usercontrol&#8217;s events to commands.<br />
Your whole idea of placing binding logic into the code behind just feels right! Not to mention how awesome it is to use a well designed fluent interface, and strong variable references to do that!</p>
<p>3. Can you pass parameters to commands?</p>
<p>4. How do you define the converter for the bindings?</p>
<p>I&#8217;m really looking forward for the coming posts, because MVVM development in Silverlight is really a PITA. Everybody is hyping the MVVM pattern, but really when it comes down to implementing it in a real-world, complex application, you have to face serious limitations and writing messy code. It just isn&#8217;t fun.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krishna</title>
		<link>http://lostechies.com/gabrielschenker/2009/05/31/fluent-silverlight-part-1/#comment-147</link>
		<dc:creator>Krishna</dc:creator>
		<pubDate>Mon, 01 Jun 2009 12:19:35 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/06/01/fluent-silverlight-part-1.aspx#comment-147</guid>
		<description>Love the idea...especially the properties one. But I am not personally attracted to the databinding in code. I think all the nice tooling features with blend/vs would go in vain....again not an expert and I appreciate your effort for the community.</description>
		<content:encoded><![CDATA[<p>Love the idea&#8230;especially the properties one. But I am not personally attracted to the databinding in code. I think all the nice tooling features with blend/vs would go in vain&#8230;.again not an expert and I appreciate your effort for the community.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel N. Schenker</title>
		<link>http://lostechies.com/gabrielschenker/2009/05/31/fluent-silverlight-part-1/#comment-146</link>
		<dc:creator>Gabriel N. Schenker</dc:creator>
		<pubDate>Mon, 01 Jun 2009 07:47:57 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/06/01/fluent-silverlight-part-1.aspx#comment-146</guid>
		<description>@Michael: I will forward your question to Ray ;-) ... but seriously: how would you define the binding or a (existing XAML based) view to the view model if not in the code behind? Of course you could define the binding in the XAML but this is exactly what we want to avoid. Ultimately we want to define most of our controls without using XAML at all (except for templating).</description>
		<content:encoded><![CDATA[<p>@Michael: I will forward your question to Ray <img src='http://lostechies.com/gabrielschenker/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  &#8230; but seriously: how would you define the binding or a (existing XAML based) view to the view model if not in the code behind? Of course you could define the binding in the XAML but this is exactly what we want to avoid. Ultimately we want to define most of our controls without using XAML at all (except for templating).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
