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
# 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?
- Ruby User Groups (Arlington Ruby, DCRug)
- Books and Learning Resources
- Conferences (RubyNation, Ruby Conf)
- Open and welcoming people
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:
Resources
- Demo Code
- Ruby Tutorials - Jumpstart Labs
- StackOverflow
- Rails and Rails Screencasts
- The Documentation!
- Ruby Tapas
ArcGIS & Ruby - FedGIS
By Jason Wieringa
ArcGIS & Ruby - FedGIS
- 1,782