I agree with Josh, partially. The most important feature in MVC is the loose coupling of layers. Make the View dependent from the underlying domain model, but not vice-versa. You should always be able to build a different client for your domain model without compromising its security nor its integrity. So, why did I say *partially?*.. well, duplication is a well known error prone solution and a bug source.
Why not take advantage of the asynchronous server calls for those validations that are complex and domain-dependent? On Wed, Mar 5, 2008 at 8:25 AM, Josh McDonald <[EMAIL PROTECTED]> wrote: > Well of course there'll be edge cases, that's why it's a rule of thumb > and not commandment #11 ;-) > > > On Wed, Mar 5, 2008 at 8:46 PM, Tom Chiverton < > [EMAIL PROTECTED]> wrote: > > > On Tuesday 04 Mar 2008, Josh McDonald wrote: > > > I find a good rule of thumb is input validation should be duplicated > > on the > > > front-end, but business rules belong in the application. > > > > Sometimes it's hard to separate the two. > > For instance, if the user is entering a time, and the time has to be > > within a > > range defined by business rules, then I'd think that is an input > > validation > > problem. > > > > -- > > Tom Chiverton > > Helping to autoschediastically compete enterprise technologies > > on: http://thefalken.livejournal.com > > > > **************************************************** > > > > This email is sent for and on behalf of Halliwells LLP. > > > > Halliwells LLP is a limited liability partnership registered in England > > and Wales under registered number OC307980 whose registered office address > > is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. > > A list of members is available for inspection at the registered office. Any > > reference to a partner in relation to Halliwells LLP means a member of > > Halliwells LLP. Regulated by The Solicitors Regulation Authority. > > > > CONFIDENTIALITY > > > > This email is intended only for the use of the addressee named above and > > may be confidential or legally privileged. If you are not the addressee you > > must not read it and must not use any information contained in nor copy it > > nor inform any person other than Halliwells LLP or the addressee of its > > existence or contents. If you have received this email in error please > > delete it and notify Halliwells LLP IT Department on 0870 365 2500. > > > > For more information about Halliwells LLP visit www.halliwells.com. > > > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > Yahoo! Groups Links > > > > > > > > > > > -- > "Therefore, send not to know For whom the bell tolls, It tolls for thee." > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] > > -- Fernando Troya. Semisenior Developer at LIFIA, 50 & 115 st., first floor (1900) La Plata, Buenos Aires, Argentina. +542944313104 (mobile)