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

Introducing dojo, dijit, and dojox


Great care has been taken to organize the Dojo framework. When Dojo incorporated the AMD style of modules, many of the objects, methods, and properties were reorganized into logical folders and modules. Dojo is broken down into three main packages: dojo, dijit, and dojox. Let's get an idea of what these three packages bring to the framework.

The dojo package

The dojo package provides much of the base functionality needed to load, run, and tear down the various modules in our applications. The modules provide functions and tools that work across multiple browsers, including the dreaded older versions of Internet Explorer. For example, the developer doesn't have to handle events by trying addEventListener() for Chrome and attachEvent() for older IE, because it's handled behind the scenes by dojo/on. With the framework, you can get away from all the browser hacks, and focus on creating a good application.

The dojo package does not contain widgets, but it does...