ArcGIS Server allows you to publish services for visualization, spatial analysis, and spatial data management. Once the services are published, several frameworks are available for accessing and using these services, including the ArcGIS JavaScript API.
If you are unfamiliar with ArcGIS Server services, a good place to start is the Approaches for publishing services with ArcGIS in the ArcGIS Server Help.
After you are familiar with ArcGIS Server services, the following topics offer additional information on using these services successfully in the JavaScript API:
- The Services Directory and the REST API: This topic introduces Services Directory, which provides an easy way to generate URL's for referencing services.
- Working with secure ArcGIS services: At times you will need to work with secure services. This topic provides information about how to properly connect to these services.
- Using the proxy page: A proxy page is necessary if your URL becomes too long and you must use a POST instead of a GET. The proxy page is also necessary when you do not want users to view a token used with secure services. This topic covers how to set up the proxy page.