humanities programming in ruby

13
Humanities Programming in Ruby DH Reading Group // Jack Hennes

Upload: jack-hennes

Post on 16-Apr-2017

307 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Humanities Programming in Ruby

Humanities Programming in

RubyDH Reading Group // Jack Hennes

Page 2: Humanities Programming in Ruby

• What brings you here? What do you hope to learn?

• Do you have experiences programming? If so, what language(s) and framework(s) have you used?

• How did you decide on that language? When/how does one select a language to learn?

Page 3: Humanities Programming in Ruby

Ruby:a general purpose,

dynamic, reflective, and object-oriented

programming language.

created by Yukihiro “Matz”Matsumoto in

1995.

Page 4: Humanities Programming in Ruby

Why would I want to learn Ruby?

Page 5: Humanities Programming in Ruby

Beginning Programmers

• The syntax is far simpler to use than some languages, like PHP

• More favorable learning curve

• Feels intuitive and human

• Excellent for building web applications (when paired with Rails)

Page 6: Humanities Programming in Ruby

Rails• Rails is a web application framework written

in Ruby

• Provides structure for databases, web services, and web pages

• In other words, a framework for Ruby

• Other frameworks include Merb, Sinatra, and Camping

Page 7: Humanities Programming in Ruby
Page 8: Humanities Programming in Ruby

“Think of Ruby as a pile of building materials: you can to build anything you want if you know how to put everything

together. Rails, on the other hand, is like a prefab house where workers pour a

foundation, set the house up, and then leave you to add the drywall, siding,

windows, and roof.”-Wayne Graham

Page 9: Humanities Programming in Ruby
Page 10: Humanities Programming in Ruby

Built with Ruby on Rails

• Notes on the State of Virginia

• The Mind is a Metaphor

• Lantern Media History Library

• Annotation Studio

Page 11: Humanities Programming in Ruby
Page 12: Humanities Programming in Ruby
Page 13: Humanities Programming in Ruby

Softwarehomebrewiterm2XcodeatomSublime Text 2 Perspectives & ContextHello WorldsHistory of Humanities ComputingCoding and Digital Humanities HTML & CSSHow the Computer WorksGetting Started with HTMLCode PenCSS Zen GardenSeparation: The Web Designer’s DilemmaHTML TutorialsCSS Tutorials 

Ruby & RailsWhy Ruby?The Ruby LanguageLearn Ruby the Hard WayRuby KoansTry RubyRails for ZombiesThe Programming Historian Git & GitHubTry GitPro GitCreate a GitHub RepositoryGenerating SSH Keys