Home
Add Document
Sign In
Create An Account
Creating AMD Dijits for ArcGIS API for JavaScript
Download PDF
Comment
Report
4 Downloads
90 Views
Creating AMD Dijits for ArcGIS API for JavaScript Matt Driscoll @driskull github.com/driskull
https://github.com/driskull/arcgis-dijit-sample-js
Asynchronous Module Definition (AMD)
•
Fewer global variables
•
Plays nice and can be used with other AMD libraries
•
Improvements -
Asynchronous loading
-
Dependency handling
Dojo Loader
•
Require()
•
Define()
ready() and domReady!
Legacy
AMD
Dojo Config
Conditional Require
A Simple Dijit: HTML5 Fullscreen a Map
Converting legacy code tips
•
Refer back to the latest Dojo API -
Some functions deprecated or replaced -
Use newer Dojo functions if available
-
Use new event handling with on()
-
Get/Set widget properties with .get() and .set()
-
watch() widget properties and call update functions
-
Always check the current Dojo API to see if the function has been deprecated/replaced.
http://esriurl.com/survey Offering ID: 361
https://github.com/driskull/arcgis-dijit-sample-js
Recommend Documents
ArcGIS API for JavaScript - KCAIUG
Advanced Topics: ArcGIS API for JavaScript
Advanced Development with ArcGIS API for JavaScript
Introduction to the ArcGIS API for JavaScript
Getting Started with ArcGIS API for JavaScript
Working with JavaScript App Frameworks and ArcGIS API for JavaScript
ArcGIS JavaScript API
ArcGIS API for FLEX
×
Report Creating AMD Dijits for ArcGIS API for JavaScript
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
×
Sign In
Email
Password
Remember me
Forgot password?
Sign In
Login with Facebook
Our partners will collect data and use cookies for ad personalization and measurement.
Learn how we and our ad partner Google, collect and use data
.
Agree & Close