Though Ajax doesn't technically need to be tied to any backend, there have still been various attempts to create CFML-integrated libraries. A new one is JSMX, from Todd Kingham, and it works fine with BlueDragon.
You can read about and download the engine and some example code:
I haven't had a chance to check out all the others, but I'll provide another entry in a moment listing them.
Note, as well, that on his downloads page he also offers links to a few HTTP Sniffers. As he so rightly points out, you can't do effective Ajax development without one. If your ajax client code is expecting some XML or even some simple string, it will choke if it gets HTML--as may come if an error occurs in the CFML page, or if you forget that you have debugging turned on. I've recommended that he add Fiddler from Microsoft
how do u handle cfhttp where you are behind a firewall?.. dont u need to
pass in the userId and psswrd in plain text?.. any workarounds?
thanx
-rajeev
Rajeev, I'm not sure what that has to do with the subject of this posting
(the JSMX Ajax library). CFHTTP isn't typically a player in AJAX
communications. Are you asking this randomly? And are you asking it with
regard to BlueDragon, or to CF5, MX, or 7?
I'm very skeptical on the concept of backend integration with AJAX,
preferring to not interfere with a classic MVC architecture. As for an HTTP
sniffers, all you need is FF with the Firebug extension. You can get HTTP
headers too with LiveHTTPHeaders.
Daniel, I'll leave the point of whether to integrate a backend with Ajax
for others to debate. As for Firebug and livehttpheaders, sure, those are
great solution for FF users and worth mentioning. Even as an occasional
Firefox user I still find value in Fiddler, though it's indeed a
windows-only solution as far as I know. Thanks for your thoughts.