blunck.info/iehttpheaders.html.
Charles
Probably the most robust HTTP debugging tool of the bunch is Charles. This debugger is
shareware, so you??™ll have to spend a little money to include it in your toolbox??”but it??™s money
well spent for more than just tracing Ajax calls.
Charles can provide a number of useful tasks, such as bandwidth throttling for testing
slow connections and spoofing DNS information for testing under a domain name before it
goes live. It can automatically parse the AMF format that Adobe Flash uses for remote calls,
and can parse XML and JSON used in Ajax calls. (Data exchange using XML and JSON is discussed
in Chapter 5.)
The other nice thing about Charles is that it is browser-agnostic. It works as a proxy server
and tracks everything through there, so you can use it with all your browsers. It??™s even available
for Mac OS X and Linux users. (You can grab it from www.xk72.com/charles.)
Summary
This chapter discussed the following topics:
??? Why JavaScript is becoming more popular
??? How JavaScript gets evaluated in the browser
??? What tools you can use to debug your code
After the quick ???how-do-you-dos,??? you should now have a sense of why JavaScript has
become the superstar it is today. You have some understanding of the things to consider when
putting code into your page and have all the tools necessary to run and test the code you??™ll be
developing from here on out.
Pages:
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51