esrijs elm

Using Elm with ArcGIS API for JavaScript

I’m a big fan of Elm. I think it’s a great language to work in, the debugging tools are awesome and once you get the hang of it, it really makes app development flow much easier and just starts to make sense.

This is all due to the simplicity of the Elm Architecture.

Now, I am far from an Elm pro, I think I’m barely breaking the surface of being an Elm novice. But I’m eager and one of the best ways to learn something is to try and teach it, thus why I made this video.

There may be some stuff in the video in terms of how to write your Elm code. I’m still finding cool ways to work with Commands in Elm and how to please the almighty type gods.

So bear with me, as I try to share what I’ve learned so far as I could have totally Munsen’d this, but I think it’s a good start to show some interop with the ArcGIS API for JavaScript. I admit, I think this video is a little long, but anyone who has seen me present knows I get excited about this stuff. I try not to ramble, but I make no guarantees.

One area I’m really interested with Elm is how to scale a larger application, where I may have a Main application that pulls in some smaller components to compose the application. I got thrown by stuff I had to do to try and make sure my Msg was typed correctly. I’m sure it’s easier than I’m making it out to be.

Here is the Elm code for reference.

That’s a lot, I know. I try to explain most of it in the video.

Resources from the video:

Thanks for watching!

Share on Google+1Tweet about this on TwitterShare on Facebook1Share on LinkedIn7Share on Reddit0