Book Image

Developing Mobile Web ArcGIS Applications

Book Image

Developing Mobile Web ArcGIS Applications

Overview of this book

Table of Contents (14 chapters)
Developing Mobile Web ArcGIS Applications
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Dojo and Esri's ArcGIS API for JavaScript


In general, it makes sense for developers to take advantage of Dojo, jQuery Mobile, or the equivalent JavaScript tools. Normalizing browser inconsistencies, DOM APIs, event management tools, and much more are provided by these frameworks. Esri has chosen Dojo in favor of jQuery for their mapping APIs. This makes for a strong argument to use Dojo in your mobile ArcGIS development.

Note

The code examples in this book use Dojo. More information about Dojo and the GFX library can be found at https://dojotoolkit.org/documentation/.

Why did Esri choose Dojo? According to one of their senior engineers, because:

Note

"Dojo provides a more extensive set of features and tools, has a mature class/module system baked into the API as well as a robust widget lifecycle system. There are many things attractive about Dojo, including support for vector graphics via dojox.gfx."

Esri's official reasons for choosing Dojo as the foundation for the ArcGIS API for JavaScript...