![Free-eBooks.net](/resources/img/logo-nfe.png)
![All New Design](/resources/img/allnew.png)
Unit of work is a component Three-Tier Client/Server Model Client code has validation, flow, layout, data interchange No submit buttons—save buttons
Only parts of pages are updated at a time
function handleResponse() { …read response from server …get a handle to the DIV If Not OK
Replace DIV contents with msg }Message
name=bhanwar Or
<name>Bhanwar</name>
function checkName( name ) { …initialize request (url, parms) …register callback function …call the server
}
Message
status=999
msg=Not a valid name
ValidateName( req, res…) { parse request
lookup name in database is it valid?
if so, return OK otherwise
return error message