concept method in category arcgis

appears as: methods, method, methods, The method, method
ArcGIS Web Development

This is an excerpt from Manning's book ArcGIS Web Development.

The GIS data is behind the ArcGIS Server. To get to this data, you communicate with the ArcGIS Server via a collection of URL endpoints. You can communicate with these endpoints through a variety of methods, such as Silverlight and Flex, but this book’s focus is on the ArcGIS API for JavaScript. This communication process, combined with your impeccable skills, leads to happy users. This is method of communication is called a REST API, which is discussed in more detail in section 1.2.2.

Listing 6.13. js/utils/symbolutil.js—add method to supply new symbol

This method provides a clean interface for iterating over the items in an array. All the array methods, including the forEach method, even take an optional third argument for the context of how the functions can be called in the method. In this example, you call this.doSomething, where this was passed as a third argument to the forEach method.