XHR2 effectively uses CORS for cross domain requests, so when you say we should use XHR2 for cross domain requests, that is using CORS.
On Sat, Feb 5, 2011 at 8:48 PM, Richard D. Worth <[email protected]> wrote: > > On Sat, Feb 5, 2011 at 11:23 AM, Gaurav Yadav <[email protected]>wrote: > >> 3) window.postMessage (not sure if JavaScript libraries can make it >> work in old browsers i.e. IE6) >> 4) Cross-Origin Resource Sharing (CORS) (not possible to support old >> browsers i.e. IE6) >> > > In case you haven't already found this in your research, this page has a > couple polyfills for each of postMessage and CORS: > > https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills > > including easyXDM (which you mention below). > > - Richard > > >> 5) The Reverse Proxy method (not possible developers needs control >> over server of the users website) >> 6) easyXDM (need to explore how to use it) >> >> Firstly i would like to confirm with you guys that the brief analysis >> done by me of the different approaches possible is correct and i am >> not missing out on any great solution that anyone is using and if my >> analysis is correct i would like to discuss the pros and cons of these >> approaches. >> >> Secondly I know that Facebook, Twitter, Google all of them share their >> apps (exactly the way i want to share) and have overcome this problem >> in order to do so, Can anybody point me in the direction where i could >> find more about how they have solved this problem. >> >> -- >> 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] > -- 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]
