???
test the Ajax layer p. 38
??? Debugging Ajax applications can
be particularly tricky because
there are so many technologies
involved: HTML, DOM, CSS,
JavaScript, PHP, SQL, and MySQL.
See Appendix A, ???where to go
from here,??? for debugging tips.
??? You??™ll want to test any Ajax application
in as many Web browsers
on as many operating systems
as possible. By knowing how the
application behaves under multiple
settings, you do your best to
avoid exluding any users.
??? Firefox is, in my opinion, the best
browser to test Ajax applications
in. It has a JavaScript console
that opens in another window
for displaying JavaScript errors.
This alone can be a great help.
extra bits (cont.)
42 browsing using Ajax
In the fi rst chapter we created the database structure for this employee listing
Web site. In the previous two chapters, we developed an Ajax as well as a
non-Ajax approach for browsing the employees by department. In this chapter,
let??™s create a way to add employees to the database. Naturally we??™ll start with
the non-Ajax version, for universal accessiblity, and then add the Ajax-enabled
version in the next chapter.
Pages:
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59