Ajax Bestiary: A Javascript Field Guide
 
Ajax Bestiary: A Javascript Field Guide
 
 

JSONP Robust, CrossDomain JSON

Posted by Don Albrecht

Basically, here’s the idea.  Instead of relying solely on the remote host to provide you with your JSON files, JSONP is a standardized way for requesting formating for the JSON data that allows the client to inject code at the beginning of files produced by the server.  It’s not a perfect solution but it does help circumvent some of hobbles placed on Javascript based mashups by security sandboxes.

Remote JSON - JSONP

Related Posts


Leave a Reply