Design Document index Page
Design Document edit | |
The index.html page can be used to register a new player or [by a registered player] to Login to BOARD18.
Most of the JavaScript logic for these functions is in the scripts/board18index.js file.
The index.html page also uses the scripts/board18com.js file and some other open source JavaScript files.
Style is supplied by the style/board18Index.css and the style/board18com.css files.
Registration
Choosing the "Register" option from the main menu causes the Registration form to be displayed.
This form does some preliminary validation on the user input and then passes the validated input to php/newUser.php.
The php/newUser.php program, which is called via AJAX [$.post], is documented on the newUser.php WIKI page.
Login
Choosing the "Log In" option from the main menu causes the Log In form to be displayed.
This form does some preliminary validation on the user input and then passes the validated input to php/validateUser.php.
The php/validateUser.php program, which is called via AJAX [$.post], is documented on the validateUser.php WIKI page.