Tag: require.js

Quick Tip: r.js to build your ArcGIS JS Applications

"How do I build my ArcGIS JavaScript Application using the Dojo build tools?" I’ve seen this question come up a few times and thought I would share my experience. I’ve posted about this on twitter a couple of times, but thought it warranted it’s own posting. A quick answer to the question above is, I…


ArcGIS JavaScript API 3.0, Dojo 1.7 and AMD Modules

Diving in For a while now, I have been keeping my JavaScript development modular by using Require.js as I have discussed before. Require.js provides AMD module loading for JavaScript projects. If you are not familiar with AMD, take a look here. Dojo 1.7 is AMD compliant and uses require/define methods to load modules. Up until…


Quick tip: Loading ArcGIS JavaScript API with Require.js

In my previous post on Getting Modular with the ArcGIS JavaScript API, I discussed using a loader.js method to load your JavaScript files with Require.js. Mr. Dave Thomas pointed out in the comments about just wrapping third-party libraries using a tool like volo. See his examples at Backbone Boilerplate for more details. If you have…