Ext.Direct cross domain
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.
To follow up on my previous post, it looks like this may be possible by implementing a new provider, e.g. Ext.direct.CrossDomainProvider which would extend Ext.direct.RemotingProvider.
I'm not sure if this is the right road to go down, but I would be happy to implement if this is the correct extensibility point.
At second glance - this may work out of the box by setting a different URL on the API and therefore - when the Ext.Ajax is called, it will automatically use scripttagproxy, going to test this out, but looks promising.
I searched for "Ext.direct.CrossDomainProvider" but I did not found it. Can you please tell me from where we got that class?