Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #17906

Re: Question on form validation

Newsgroups comp.lang.javascript
Subject Re: Question on form validation
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <be8abd23-af86-48c7-be3f-a751ce6e574f@googlegroups.com> <2012123116071843163-michaelfilbin@gmailcom> <2054338.ZTifN9JQ4c@PointedEars.de>
Date 2013-01-01 11:35 +0100
Message-ID <XnsA13B75E13F794eejj99@194.109.133.133> (permalink)

Show all headers | View raw


Thomas 'PointedEars' Lahn wrote on 01 jan 2013 in comp.lang.javascript:

> The validation code should be duplicated on, not moved to, the server
> side.  In the best case there will be a server-side framework that
> generates the client-side code from server-side code.

In the case of serverside Javascript, on topic on this NG, 
such duplication involves no "generation".

Both scripts can be be exactly the same, 
if you are carefull to write cross-engine compatible script.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Question on form validation bravesplace@gmail.com - 2012-12-19 06:57 -0800
  Re: Question on form validation Stefan Weiss <krewecherl@gmail.com> - 2012-12-19 16:20 +0100
  Re: Question on form validation Danny <dann90038@gmail.com> - 2012-12-19 13:38 -0800
  Re: Question on form validation Mike Filbin <michael.filbin@gmail.com> - 2012-12-31 16:07 -0700
    Re: Question on form validation Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-01-01 01:58 +0100
      Re: Question on form validation "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-01-01 11:35 +0100

csiph-web