Test the Php handlers "by hand". For example, in this project,
try
http://localhost/default/PhpBooks/handlers/read-book.php?id=1
You'll see the expected output of the book in JSON format. This URL
is one example of what is being called implicitly
in this code from js/read.js:
function getDisplay(shouldIsync) {
dojo.xhrGet(
{
url: 'handlers/read-book.php',
form: "list",
...
Even partial information can help give you confidence in the effectiveness
of an AJAX handler, such as this:
http://localhost/default/PhpBooks/handlers/update-book.php?id=1&title=foo
Of course, don't try to go get too complicated with the values, which
would have to be url-encoded by hand.