Category: dojo

Dojo 2 and Web Components

I’ve talked before about how I’m excited about the upcoming Dojo 2 official release. They’ve added some nice updates to the tutorials pages, which are really cool! One of the features I’m excited about revolves around the dojo-cli, which adds new scaffolding and build tools. I recommend the tutorials to get familar with those, but…


Learning Mayhem

So a couple of months ago, I was minding my own business at the Esri Developer Summit when I first heard of Mayhem. I had no idea this was even in the works. I then had the chance to attend a small meetup at the developer summit where Dylan from Sitepen and founder of Dojo…


dbind in your ArcGIS JS apps

Dojo has a lot of strength in it’s Dijit library. Dijits can be used to build very basic reusable user interfaces or wire together some very complicated interfaces. One example is that of FreeNAS which has a pretty extensive interface. You can get some good tips on building a custom widget here and here. I…


Getting your Dojo on

Dojo has been around for quite a long time, since around 2004. Dojo is not an MV-something framework in the same way as Backbone or Angular. Although Dojo has all the bits to do so if you wanted to. Loader lover Dojo however is just as it’s name says. It’s a toolkit, with a collection…


Dojo Bootstrap with ArcGIS JavaScript API

If you use the ArcGIS JavaScript API, have you tried Bootstrap? It’s a great way for developers to get a decent looking website up and going pretty quickly that doesn’t look like total crap. It has some handy components, however they are dependent on jQuery because everyone uses jQuery, didn’t you know that? Bootstrap Map…


dojo router for your Esri JavaScript Maps

Part of the rage in building single page applications is the ability to do all your page routing on the client. Angular has the $routeProvider, Backbone has a solid router, Ember has a great routing system in place, and although React isn’t an all-in-one framework, there is a fantastic routing library available for it. Now,…


10 Things I learned writing ArcGIS Web Dev

So it’s been almost two years now since I took on the challenge of writing the ArcGIS Web Dev book from Manning Publications. Recently I made myself a list of 10 things I learned in the process. I didn’t think I could write Ok, that might be a horrible thing to say considering I have…


Quick Tip: Save last location on map reload

I’d like to… I recently had a need in an ArcGIS JS project to save a maps last location when the user closed the browser so that it would return that location when they returned to the application. After a little trial and error, I think I came up with a pretty good solution. Quick…


Modularized ArcGIS JS, overboard.

I got problems Sometimes I’m not sure what I enjoy doing more, writing code or working with build tools. I recently went on a caffeine fueled bender trying to figure out how to best solve a problem that I run into all too often. Managing changes and fixes in my codebase along all my projects….


RequireJS for single-file builds: revisited.

Someone recently started a github repo using RequireJS to build their ArcGIS JavaScript applications. This piqued my interest as it’s something I had done in the past, but at some point r.js or node didn’t work properly together anymore with my build file. Rather than fuss with it, I moved on to using Grunt to…