Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.
/ kXCD Public archive

Cross-domain AJAX library using a very tiny piece of flash. Hopefully with some more work it can be extended to fill most cases of AJAX-style cross-domain communcation.

Notifications You must be signed in to change notification settings

remotezygote/kXCD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

== kXCD is for Cross-Domain AJAX-style requests

Designed for use in Kosmix.com's labs products, the Kosmix kXCD library allows your javascript to communicate across domains in much the same way as using an XMLHTTPRequest object. It is intended to eventually be a both a standalone library and a drop-in for various JS frameworks to enable those frameworks to achieve seamless cross-domain communication without the need for special syntax.

The communication is accomplished using an ultra-small and simple Flash object which can be self-hosted or loaded from Kosmix.com. This sub-1k Flash object allows any Javascript to communicate with domains that have allowed cross-domain flash requests. Many popular sites have this allowance by default, including Flickr API, Google, Microsoft and many others.

== More info

 - Cross-domain policy file specification (http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html)

== Version 2.0

 - Added support for multiple requests concurrently while maintaining a mapping between request and its callback. (kXCD2)

== ToDo

 - Add more support for headers and other request options - minimal set included for first release.
 - Seamless integration with Prototype, JQuery, MooTools and other JS frameworks.
 - Clean up after my naive coding practices.

About

Cross-domain AJAX library using a very tiny piece of flash. Hopefully with some more work it can be extended to fill most cases of AJAX-style cross-domain communcation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published