What are people preferred methods of sending data to JavaScript libraries
such as jQuery and Spry, XML or JSON?

And when using ColdFusion, do you use CFCs?


The problems I have been running into are:

1) Spry likes CF web services that return XML
    But .Net doesn't. Change the return type to String and it is happy - But
Spry dies

2) When returning a JSON String to jQuery via a web services, it gets
wrapped with WDDX tags and throws a spanner in the works.


I believe CF8 has a new attribute for CFC that control the return type, but
I am still on CF702.


I would be very interested to see how people provide data for external
consumption.



-- 

AJ Mercer
Web Log: http://webonix.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to