Re:JavaScript: It’s Not Just for Browsers Any More
by planettrash on Friday March 05, 2010 @08:12PM
(#1170946)
A concern might be that you expose your server side code. Though many os projects do this by design.
[ Parent
| on HN ]
Re:JavaScript: It’s Not Just for Browsers Any More
by Hexstream on Saturday March 06, 2010 @10:39AM
(#1171635)
Not necessarily, you can make a really high-level DSL to express validation rules, that encompasses both client-side and server-side logic, and then you generate the client-side-only validations from this model while not including the server-side, "secret" validation code.