Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Javascript: Display Logic or Business Logic?

by Rhandom (Curate)
on Oct 05, 2011 at 13:30 UTC ( [id://929796]=note: print w/replies, xml ) Need Help??


in reply to Re: Javascript: Display Logic or Business Logic?
in thread Javascript: Display Logic or Business Logic?

You could use CGI::Ex::Validate and write your validation once and have it available in perl and javascript.

my @a=qw(random brilliant braindead); print $a[rand(@a)];
  • Comment on Re^2: Javascript: Display Logic or Business Logic?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://929796]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2026-02-18 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.