September 2013
Beginner to intermediate
480 pages
9h 59m
English
Many validation checks can only be performed at the server side. The following are the examples:
The problem with server-side validation checks is that they need to be asynchronous. As a result, they cannot be written in JavaScript as functions that return validation results.
To solve this problem, in this recipe we're going to make a validator that uses the continuation-passing style. The example has a username input field that is validated against the server. The server checks if the username is ...
Read now
Unlock full access