bg3075

Newb to ArcGIS API for Javascript

Discussion created by bg3075 on Jul 11, 2012
Latest reply on Aug 8, 2012 by bg3075
So, if one simply references the "Hosted Version" of the ArcGIS API for Javascript, as discussed below (taken from the online Help), does this prevent the need to download and install the API on the web server machine?

Get the ArcGIS API for JavaScript
The JavaScript API is hosted by ESRI on ArcGIS Online and is available for free use, subject to the Terms and Conditions.

Hosted Version
The recommended approach for accessing the API is to use the hosted version by adding the following script tag to your page:

  <script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.7"></script>There are several benefits to working with the hosted version of the API.
�?�Delivered via a content delivery network (CDN). CDN's are a collection of geographically distributed web servers that deliver content efficiently.
�?�The servers are load balanced and monitored 24/7
�?�No need to download and re-install the API when new versions are released. You just need to modify the script tag in your application to point to the new version.

Outcomes