Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit a4975ee

Browse files
author
Pat Patterson
committed
Added note about hosting JS outside Force.com to Background section
1 parent 5978115 commit a4975ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Due to the [same origin policy](http://en.wikipedia.org/wiki/Same_origin_policy)
1111
We can work around this restriction by using the [AJAX Proxy](http://www.salesforce.com/us/developer/docs/ajax/Content/sforce_api_ajax_queryresultiterator.htm#ajax_proxy). Since the AJAX proxy is present on all
1212
Visualforce hosts with an endpoint of the form https://abc.na1.visual.force.com/services/proxy, our Visualforce-hosted JavaScript can invoke it, passing the desired resource URL in an HTTP header.
1313

14+
Alternatively, to host JavaScript outside the Force.com platform, we can deploy a simple PHP proxy to perform the same function as the AJAX proxy.
15+
1416
Dependencies
1517
------------
1618

0 commit comments

Comments
 (0)