Details
-
Wish
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
I'd like to have support for cross-domain invocations: a client javascript component uses a reference wired to a service hosted on a different host than the host that served the Javascript code.
This should be done for the JSON-RPC and Atom bindings. The usual solution for this problem is to proxy out calls on the host that served the Javascript. I think there is a better way: serve the piece of code that declares each Javascript proxy from the host that runs the target service (and have it loaded by the code-behind Javascript that we currently generate). I think that technique is commonly called on-demand javascript.