1. #1
    Ext User cain06's Avatar
    Join Date
    Jul 2008
    Location
    Philadelphia, PA
    Posts
    16
    Vote Rating
    0
    cain06 is on a distinguished road

      0  

    Default Ext.Direct cross domain

    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.

    Thanks everyone.

  2. #2
    Ext User cain06's Avatar
    Join Date
    Jul 2008
    Location
    Philadelphia, PA
    Posts
    16
    Vote Rating
    0
    cain06 is on a distinguished road

      0  

    Default


    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.

  3. #3
    Ext User cain06's Avatar
    Join Date
    Jul 2008
    Location
    Philadelphia, PA
    Posts
    16
    Vote Rating
    0
    cain06 is on a distinguished road

      0  

    Default


    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.

  4. #4
    Sencha User
    Join Date
    Sep 2011
    Posts
    10
    Vote Rating
    0
    sanjay-patel is on a distinguished road

      0  

    Default Ext.direct.CrossDomainProvider

    Ext.direct.CrossDomainProvider


    Hi,

    I searched for "Ext.direct.CrossDomainProvider" but I did not found it. Can you please tell me from where we got that class?

    Regards,
    Sanjya

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar