17 Nov 2011 12:42 AM #1
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 !
17 Nov 2011 10:53 AM #2
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.
17 Nov 2011 12:27 PM #3