Book Image

Mastering ArcGIS Server Development with JavaScript

By : Raymond Kenneth Doman
Book Image

Mastering ArcGIS Server Development with JavaScript

By: Raymond Kenneth Doman

Overview of this book

Table of Contents (18 chapters)
Mastering ArcGIS Server Development with JavaScript
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Overall results with other frameworks


All the frameworks we have reviewed in this chapter have worked with the ArcGIS API for JavaScript. Some, such as jQuery, slipped right and could be used right away. Others, such as Backbone and Angular, required a significant rewrite of the application. Each of these libraries takes up significant bandwidth when the browser downloads the website. These libraries and frameworks would have to bring something very important to make it worth the wait.

jQuery

The jQuery library performs a number of functions found in Dojo. Both work well in a wide array of browsers. While jQuery's functionality and style make it easier to work with the HTML DOM, its event handling doesn't couple directly with Dojo's event handlers. In other words, $(map).on("click", …) doesn't do the same thing as map.on("click", …).

If you're creating an application that's jQuery centric and you want to add an ArcGIS-based map, it's perfectly fine to mix the two libraries together. You can...