jko170 wrote:
> How do you guys feel about client side validation? Do you think its
> necessary or a waste of time?

Good: gives user immediate feedback without the overhead of a server 
request.

Waste of time: Only works if JS is on.  Not airtight, and may cause 
problems for browsers that don't do JS.

With those facts in mind, determine what makes sense for your app.  I 
rarely use client-side validation, but I could imagine places where it's 
helpful.

The one you can't forget is DB-level validation.  The app is not 
sufficient to keep bad data out of the DB.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to