<?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"
	>
<channel>
	<title>Comments on: JS based easy Field Validations in Rails</title>
	<atom:link href="http://www.anup.info/2008/01/06/js-based-easy-field-validations-in-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anup.info/2008/01/06/js-based-easy-field-validations-in-rails/</link>
	<description>Freelance RubyOnRails Developer, London</description>
	<pubDate>Fri, 05 Dec 2008 09:16:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Tarun Chandel</title>
		<link>http://www.anup.info/2008/01/06/js-based-easy-field-validations-in-rails/#comment-12522</link>
		<dc:creator>Tarun Chandel</dc:creator>
		<pubDate>Mon, 28 Jan 2008 10:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.anup.info/2008/01/06/js-based-easy-field-validations-in-rails/#comment-12522</guid>
		<description>Hi Anup

I like you blog, especially because I am trying to learn RoR and I was just collecting some resources for getting started. Your blog will surely be of help, keep up the good work :)

Tarun</description>
		<content:encoded><![CDATA[<p>Hi Anup</p>
<p>I like you blog, especially because I am trying to learn RoR and I was just collecting some resources for getting started. Your blog will surely be of help, keep up the good work <img src='http://www.anup.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Tarun</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Cropcho</title>
		<link>http://www.anup.info/2008/01/06/js-based-easy-field-validations-in-rails/#comment-10677</link>
		<dc:creator>Jim Cropcho</dc:creator>
		<pubDate>Sun, 06 Jan 2008 20:13:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.anup.info/2008/01/06/js-based-easy-field-validations-in-rails/#comment-10677</guid>
		<description>"Most of you will disagree with this post to use Javascript based form validations in Rails."

I don't, depending what your needs are. Client-side form validation can greatly reduce the amount of POSTs you app has to handle (and reduce your bandwidth costs, by extension).

At the same time, the current design methodology of such systems makes validation logic a lot less DRY, because ORM-layer validations are specified in model classes, and client-layer validations are specified in view documents (i.e. rHTML files)- a separate problem in itself.

A DRY, elegantly-designed client-side validation system would store validation logic which is shared between both layers in a single location, while also allowing rules which only apply to one layer to be specified, as well.</description>
		<content:encoded><![CDATA[<p>&#8220;Most of you will disagree with this post to use Javascript based form validations in Rails.&#8221;</p>
<p>I don&#8217;t, depending what your needs are. Client-side form validation can greatly reduce the amount of POSTs you app has to handle (and reduce your bandwidth costs, by extension).</p>
<p>At the same time, the current design methodology of such systems makes validation logic a lot less DRY, because ORM-layer validations are specified in model classes, and client-layer validations are specified in view documents (i.e. rHTML files)- a separate problem in itself.</p>
<p>A DRY, elegantly-designed client-side validation system would store validation logic which is shared between both layers in a single location, while also allowing rules which only apply to one layer to be specified, as well.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.205 seconds -->
