General
Got the FireBug
I spent part of my weekend doing a bit more work on my super-semi-secret Rails CMS, especially on part of the admin area that involved some nice AJAX effects that of course caused more trouble than is immediately worth it. One of the main problems is that it's very awkward to debug AJAX code without writing in code to display errors, etc. in the interface which you might not want to do. In trying to learn a bit more about Rails' RJS templates for my AJAXing, I bought the O'Reilly PDF book on the subject (along with a couple of others on web services and SEO - 3 for 2 offers are sometimes hard to pass on). One of the most useful tips it contains is a link to FireBug, a JavaScript plugin for Firefox that among other things allows you to track AJAX requests. Just go to its console, options and enable XMLHTTPRequests tracking and you can see exactly what's being sent via AJAX and what comes back. I'll separate my JavaScript woes into another post so you can just take this one as a recommendation to check out FireBug.