This is an archive related to a previous version of Esri Maps for SharePoint. If you need the current version go to http://doc.arcgis.com/en/maps-for-sharepoint/.

Naming conventions

The Esri Maps for SharePoint extensibility follows the Dojo coding style outline on the Dojo Toolkit website.

Additionally, the Esri Maps for SharePoint extensibility uses the following conventions:

  • _ClassName—An abstract base class, for example _Adapter. These names are nouns written in UpperCamelCase, preceded by an underscore character. Abstract base classes should never be instantiated.

  • _NameMixin—A mixin class, for example, _SelectedLayerMixin. These names are nouns written in UpperCamelCase, preceded by an underscore character and always include the term Mixin.

  • __VirtualClassName—Denotes a class that exists for documentation purposes only; it cannot be instantiated.

    A virtual class describes either of the following:

    • the type of object that should be passed as a parameter to a method; for example, a keyword argument
    • the return value of a method

    These names are written in UpperCamelCase and are preceded by a double underscore.