ArcGIS & RUby

Making Development Fun and Easy

Jason Wieringa
Marius Pop



Why Ruby?





A dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.
                                                                - ruby-lang.org

Ruby


 # Output "I love Ruby"
say = "I love Ruby"
puts say

# Output "I *LOVE* RUBY"
say['love'] = "*love*"
puts say.upcase

# Output "I *love* Ruby"
# five times
5.times { puts say }



Community


What does community mean for me?



Libraries

RubyGEMS.org



Gems are packages of  Ruby that are easily distributable. The Ruby community shares these packages on Rubygems.org.



Where is it Used?



  • Web Applications (Rails, Sinatra, Middleman)
  • Server Administration (Chef, Puppet)
  • Data Processing
  • On top of the JVM with JRuby
  • And so much more...

How Esri DC R&D Uses Ruby




  • Talking with ArcGIS Online (Chain)
  • Web applications (Rails)
  • Data processing (ffi-ogr)


 

Demo App Backlog


  • Batch operations on Items
  • Custom workflows
  • <insert your idea>


Thank YOu


Demo Sinatra App Made By:

Chat with me at:

jwieringa@esri.com


Resources








ArcGIS & Ruby - FedGIS

By Jason Wieringa

ArcGIS & Ruby - FedGIS

  • 1,763