<?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: Slides, links and source from the Ajax Monorail talk</title>
	<atom:link href="http://gojko.net/2008/06/13/slides-links-and-source-from-the-ajax-monorail-talk/feed/" rel="self" type="application/rss+xml" />
	<link>http://gojko.net/2008/06/13/slides-links-and-source-from-the-ajax-monorail-talk/</link>
	<description>Building software that matters</description>
	<lastBuildDate>Thu, 02 Feb 2012 07:12:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: gojko</title>
		<link>http://gojko.net/2008/06/13/slides-links-and-source-from-the-ajax-monorail-talk/comment-page-1/#comment-31633</link>
		<dc:creator>gojko</dc:creator>
		<pubDate>Sun, 03 Aug 2008 15:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://gojko.net/?p=138#comment-31633</guid>
		<description>Hi Rodney,

you can see the video also here: http://video.google.com/videoplay?docid=-383418991140556188</description>
		<content:encoded><![CDATA[<p>Hi Rodney,</p>
<p>you can see the video also here: <a href="http://video.google.com/videoplay?docid=-383418991140556188" rel="nofollow">http://video.google.com/videoplay?docid=-383418991140556188</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rodney</title>
		<link>http://gojko.net/2008/06/13/slides-links-and-source-from-the-ajax-monorail-talk/comment-page-1/#comment-31632</link>
		<dc:creator>Rodney</dc:creator>
		<pubDate>Sun, 03 Aug 2008 14:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://gojko.net/?p=138#comment-31632</guid>
		<description>I enjoyed the slides. Can you tell me where the video is as the one at http://skillsmatter.com/podcast/open-source-dot-net/developing-ajax-web-applications-with-castle-monorail never plays?

Thanks.</description>
		<content:encoded><![CDATA[<p>I enjoyed the slides. Can you tell me where the video is as the one at <a href="http://skillsmatter.com/podcast/open-source-dot-net/developing-ajax-web-applications-with-castle-monorail" rel="nofollow">http://skillsmatter.com/podcast/open-source-dot-net/developing-ajax-web-applications-with-castle-monorail</a> never plays?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gojko</title>
		<link>http://gojko.net/2008/06/13/slides-links-and-source-from-the-ajax-monorail-talk/comment-page-1/#comment-28658</link>
		<dc:creator>gojko</dc:creator>
		<pubDate>Tue, 17 Jun 2008 07:07:50 +0000</pubDate>
		<guid isPermaLink="false">http://gojko.net/?p=138#comment-28658</guid>
		<description>Hi Danyal,

I&#039;m not sure that I understand what you are getting at. Format validation is fairly cheap, so there is little harm in validating the whole object every time (and that will also make sure that any inter-field dependencies are validated as well). Having said that, if you use castle component validations, and you know which field you want to validate, then you can get the validation attribute on that actual property and execute the validation yourself. 

See the source code for &lt;a target=&quot;_blank&quot; href=&quot;http://svn.castleproject.org:8080/svn/castle/trunk/Components/Validator/Castle.Components.Validator/ValidatorRunner.cs&quot; rel=&quot;nofollow&quot;&gt;ValidationRunner.cs&lt;/a&gt; &#8212; that should help you with validating individual properties.</description>
		<content:encoded><![CDATA[<p>Hi Danyal,</p>
<p>I&#8217;m not sure that I understand what you are getting at. Format validation is fairly cheap, so there is little harm in validating the whole object every time (and that will also make sure that any inter-field dependencies are validated as well). Having said that, if you use castle component validations, and you know which field you want to validate, then you can get the validation attribute on that actual property and execute the validation yourself. </p>
<p>See the source code for <a target="_blank" href="http://svn.castleproject.org:8080/svn/castle/trunk/Components/Validator/Castle.Components.Validator/ValidatorRunner.cs" rel="nofollow">ValidationRunner.cs</a> &mdash; that should help you with validating individual properties.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danyal</title>
		<link>http://gojko.net/2008/06/13/slides-links-and-source-from-the-ajax-monorail-talk/comment-page-1/#comment-28591</link>
		<dc:creator>Danyal</dc:creator>
		<pubDate>Sat, 14 Jun 2008 20:07:42 +0000</pubDate>
		<guid isPermaLink="false">http://gojko.net/?p=138#comment-28591</guid>
		<description>Hi Gojko

Thanks for the talk - I found it really useful.

Maybe you remember me as somebody who asked a question about validation when developing Ajax applications.  I wasn&#039;t actually asking about client-side validation.  For me, client-side validation is just a bit of sugar.  The server-side is more important.  What I am concerned about is how to keep the validation models DRY on the server side while developing applications in MonoRail that involve both normal form submissions (for example, to submit a form to create a new expense) and AJAX form submissions (for example, to edit the date of that expense, later).  If databinding is used with each, you need two separate transport models for these two submissions, because you don&#039;t want the validators of the whole form to be executed when you are just editing one field.  So there is some repetition and the validation is no longer DRY.  And every new AJAX action needs another transport model decorated with validation attributes.

I think RoR tries to solve this by specifying which controllers/actions a validator runs on, so you can reuse the original transport model but &#039;turn off&#039; validators as necessary.  Do you know if MonoRail tries to solve it?

It&#039;s not a terrible thing if it can&#039;t be solved - it just means I&#039;ll have to use my copy and paste magic a bit more.

Anyway thanks again and I hope to see you at another talk!

Thanks
Danyal</description>
		<content:encoded><![CDATA[<p>Hi Gojko</p>
<p>Thanks for the talk &#8211; I found it really useful.</p>
<p>Maybe you remember me as somebody who asked a question about validation when developing Ajax applications.  I wasn&#8217;t actually asking about client-side validation.  For me, client-side validation is just a bit of sugar.  The server-side is more important.  What I am concerned about is how to keep the validation models DRY on the server side while developing applications in MonoRail that involve both normal form submissions (for example, to submit a form to create a new expense) and AJAX form submissions (for example, to edit the date of that expense, later).  If databinding is used with each, you need two separate transport models for these two submissions, because you don&#8217;t want the validators of the whole form to be executed when you are just editing one field.  So there is some repetition and the validation is no longer DRY.  And every new AJAX action needs another transport model decorated with validation attributes.</p>
<p>I think RoR tries to solve this by specifying which controllers/actions a validator runs on, so you can reuse the original transport model but &#8216;turn off&#8217; validators as necessary.  Do you know if MonoRail tries to solve it?</p>
<p>It&#8217;s not a terrible thing if it can&#8217;t be solved &#8211; it just means I&#8217;ll have to use my copy and paste magic a bit more.</p>
<p>Anyway thanks again and I hope to see you at another talk!</p>
<p>Thanks<br />
Danyal</p>
]]></content:encoded>
	</item>
</channel>
</rss>

