Exactly. Returning JS or at least JSON makes more sense to me. One exception might be the use of a SOAP webservice (e.g. via Neuromancer), so that the one mechanism can drive both other server requests and client AJAX.
On 6/23/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > Good point. I don't know why so many people talk about returning XML via > AJAX. That's just one more thing you have to do before displaying the data. > > <!----------------//------ > andy matthews > web developer > certified advanced coldfusion programmer > ICGLink, Inc. > [EMAIL PROTECTED] > 615.370.1530 x737 > --------------//---------> > > -----Original Message----- > From: Dave Watts [mailto:[EMAIL PROTECTED] > Sent: Friday, June 23, 2006 9:28 AM > To: CF-Talk > Subject: RE: FJAX - discuss amongst yourselves > > > > OK, I'll bite. An interesting concept; using Flash to handle > > the XML call and parsing in the client/server interaction, > > rather than Javascript-based XML parsing. > > > > Of course, CFAJAX, ajaxCFC and JSMX all use raw javascript to > > get the job done (not XML) so a lot of the arguments > > regarding XML parsing don't apply to those engines. I also > > actually like getting a JavaScript object with which I can > > work rather than being forced to get back HTML to use in an > > object's innerHTML property. > > Yeah, the problem here is that you're introducing another dependency (Flash) > that you don't need. The "X" in "AJAX" is usually superfluous and unneeded - > I never bother actually using XML with XmlHTTPRequest. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber vendor-authorized > instruction at our training centers in Washington DC, Atlanta, > Chicago, Baltimore, Northern Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more information! > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244636 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54