Cross-domain Ajax

I just gave a talk on Ajax at the Flash On The Beach conference. I was talking to some guys afterwards and I wanted to just post some links here that are relevant to what we were talking about—mostly trying to do cross-domain Ajax.

This is all quite different to the model employed by Flash which requires a cross-domain policy file on the requested server.

Douglas Crockford outlines a solution that he’d like to see implemented in future browsers called JSONRequest.

Posted by Jeremy on Tuesday, December 5th, 2006 at 3:33pm

Comments

I played with a script that does this too. Might be of interest.

article: http://codylindley.com/Javascript/290/ah-calls

Example: http://www.codylindley.com/ahcalls/

# Posted by cody lindley on Wednesday, December 6th, 2006 at 12:18am

Just thought i’d say thanks for remembering our conversation and posting the links. Oh, and once again, loved the speech - i’ll be adopting and recommending the HIJAX approach from now on. I’ve also realised that at least 3 of our product names at work are "bacronyms" …

# Posted by Ed Barnes on Wednesday, December 6th, 2006 at 10:58pm

I added another cross domain technique to Dojo, XHR IFrame Proxy: http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book75

It uses some cross-domain iframes that communicate by changing each other’s fragment identifiers. The XHR request is serialized into fragment identifers, and the remote IFrame deserializes the identifiers, makes the XHR request, then serializes the response into fragment identifiers, and gives that back to the other frame.

(also posted this comment on Snook’s site)

# Posted by James Burke on Friday, December 8th, 2006 at 8:58pm

Sorry. Comments are closed.

December 2006
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
31      

Recommended Reading

XML Subscribe

Grab the RSS feed for this blog.

JavaScript API

Grab the RSS feed of comments for this entry.