Cross-domain policy with sencha touch
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 !
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:
Hope this helps.
Thank you for your answer
Tags for this Thread