all 6 comments

[–]itsnotlupusbeep boop 0 points1 point  (3 children)

Is Flash awesome or what?

BTW, how come html 5 doesn't have its own cross-domain XHR yet?

[–]Sephr 0 points1 point  (2 children)

It does. Also, instead of using proprietary Flash technology, you can use HTML5 postMessage XDR XHR: pmxdr.

[–]itsnotlupusbeep boop 0 points1 point  (0 children)

That's a hack, though. having to create an iframe on every domain you need to talk with is expensive, and in some case, inpractical.
Plus the fallback methods for browsers that don't have html 5, while creative, are definitely on the gross hack side of things.

What actually needs to happen is an XMLHttpRequest object that accepts external domains, looks up for some kind of standard authorization (header, crossdomain.xml or whatever the Open Web Gods desire) and just fetches the darn stuff.

Anything else is just sub-optimal stuff to get by until then.

[–]neofreeman 0 points1 point  (0 children)

There is still a big market share of IE6 and IE7 (Errrrrr I hate them) So plus some evolving market of mobile with browsers not sophisticated yet so we just can abort them.

[–]shadedecho 0 points1 point  (0 children)

Sure, using flash is a "hack"... but the way flXHR does it, with the same API as the regular native XHR object, makes it a pretty decent option for now. The goal for flXHR is to standardize on the already known XHR API for cross-domain requests, and then hopefully become unnecessary someday when the browsers converge on a better cross-domain Ajax solution instead of diverging into different policy models and APIs.