Fwiw, my "flXHR" project is an invisible-flash-based XHR-compatible 
cross-domain ajax tool that can do GET and POST.

http://flxhr.flensed.com

--Kyle



-- Sent from my Palm Pre
On Dec 14, 2010 3:09 AM, Christophe Porteneuve <[email protected]> 
wrote: 

As a shameless plug, I cover multiple ways of doing this in my new book:



        http://bit.ly/prag-js



Basically it boils down to this:



• If you can, leverage native support for CORS usually through specific

   HTTP headers on the third-party service side.



• Otherwise you can fallback to a variety of options, depending on the

   HTTP verb, nature of the response and payload weight you're looking

   at.  You could go with Flash-based fallback using crossdomain.xml,

   JSON-P, YQL, an <iframe> with or without a response content (a 204

   response is perfectly acceptable), or even CSSHttpRequest (which,

   admittedly, is a major hack).



-- 

Christophe Porteneuve

[email protected]



-- 

To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/



To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/



To unsubscribe from this group, send email to

[email protected]


-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to