1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    7
    Vote Rating
    0
    debraph is on a distinguished road

      0  

    Default Cross-domain policy with sencha touch

    Cross-domain policy with sencha touch


    hello,

    I just want to know why with the offline example (http://www.sencha.com/learn/taking-s...-apps-offline/) we can access to a remote web service directly in the JS, without any PHP or other server-side technology proxy ?

    Because of the cross-domain policy, we havn't the right to make a request to a remote service.

    I think it is because Sencha Touch made the work for us, but I don't understand where and how?

    Thank you for your future comments !

  2. #2
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,394
    Vote Rating
    22
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    Hi.
    That's because the store used by the app uses a "scripttag" proxy.
    You can find more informations on it at the following documentation page:

    http://docs.sencha.com/touch/1-1/#!/...ScriptTagProxy

    Hope this helps.
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    CEO at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    http://www.tux-components.com/


  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    7
    Vote Rating
    0
    debraph is on a distinguished road

      0  

    Default


    Thank you for your answer

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."