cain06
18 Jun 2009, 5:51 PM
Is there a way to have Ext.Direct generate stubs on a cross domain API?
The scenario is as follows:
We have a public web site that does 99% of its work same-site, but certain functionality requires a cross domain (e.g. ScriptTagProxy) HTTP request to a LAN based server (also managed by us) that has access to resources the public web server does not.
We would like to be able to provide an API via the script as you would normally do with Ext.Direct, but ideally Ext.Direct would realize that this is a cross domain request and instead of using AJAX to implement the method calls, would use ScriptTagProxy.
Does it already do this?
If not - where would I look to start implementing this functionality.
Thanks everyone.
The scenario is as follows:
We have a public web site that does 99% of its work same-site, but certain functionality requires a cross domain (e.g. ScriptTagProxy) HTTP request to a LAN based server (also managed by us) that has access to resources the public web server does not.
We would like to be able to provide an API via the script as you would normally do with Ext.Direct, but ideally Ext.Direct would realize that this is a cross domain request and instead of using AJAX to implement the method calls, would use ScriptTagProxy.
Does it already do this?
If not - where would I look to start implementing this functionality.
Thanks everyone.