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

Commit b7c8f65

Browse files
author
Pat Patterson
committed
Clarify readme
1 parent 3abd646 commit b7c8f65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Force.com JavaScript REST Toolkit
22
=================================
33

4-
This minimal toolkit allows JavaScript in Visualforce pages to call the Force.com REST API in a number of different ways.
4+
This minimal toolkit allows JavaScript in web pages to call the Force.com REST API in a number of different ways.
55

66
Background
77
----------
@@ -13,7 +13,7 @@ The RemoteTK Visualforce Custom Component (comprising RemoteTK.component and Rem
1313
Alternatively, the ForceTK JavaScript library works around the same origin restriction by using the [AJAX Proxy](http://www.salesforce.com/us/developer/docs/ajax/Content/sforce_api_ajax_queryresultiterator.htm#ajax_proxy) to give full access to the REST API. Since the AJAX proxy is present on all
1414
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. A drawback here is that using the REST API, even from a Visualforce page, consumes API calls.
1515

16-
To host JavaScript outside the Force.com platform, we can deploy a simple PHP proxy to perform the same function as the AJAX proxy.
16+
To host JavaScript *outside* the Force.com platform, we can deploy a simple PHP proxy to perform the same function as the AJAX proxy.
1717

1818
[PhoneGap](http://www.phonegap.com/) provides a way for HTML5/JavaScript apps to run as native applications; in this configuration a proxy is not required - the toolkit simply provides a convenient abstraction of the REST API.
1919

0 commit comments

Comments
 (0)