Humanities Programming in Ruby
-
Upload
jack-hennes -
Category
Education
-
view
301 -
download
0
Transcript of Humanities Programming in Ruby
![Page 1: Humanities Programming in Ruby](https://reader036.fdocuments.us/reader036/viewer/2022062412/58f313db1a28abf00d8b459f/html5/thumbnails/1.jpg)
Humanities Programming in
RubyDH Reading Group // Jack Hennes
![Page 2: Humanities Programming in Ruby](https://reader036.fdocuments.us/reader036/viewer/2022062412/58f313db1a28abf00d8b459f/html5/thumbnails/2.jpg)
• 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](https://reader036.fdocuments.us/reader036/viewer/2022062412/58f313db1a28abf00d8b459f/html5/thumbnails/3.jpg)
Ruby:a general purpose,
dynamic, reflective, and object-oriented
programming language.
created by Yukihiro “Matz”Matsumoto in
1995.
![Page 4: Humanities Programming in Ruby](https://reader036.fdocuments.us/reader036/viewer/2022062412/58f313db1a28abf00d8b459f/html5/thumbnails/4.jpg)
Why would I want to learn Ruby?
![Page 5: Humanities Programming in Ruby](https://reader036.fdocuments.us/reader036/viewer/2022062412/58f313db1a28abf00d8b459f/html5/thumbnails/5.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062412/58f313db1a28abf00d8b459f/html5/thumbnails/6.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062412/58f313db1a28abf00d8b459f/html5/thumbnails/7.jpg)
![Page 8: Humanities Programming in Ruby](https://reader036.fdocuments.us/reader036/viewer/2022062412/58f313db1a28abf00d8b459f/html5/thumbnails/8.jpg)
“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](https://reader036.fdocuments.us/reader036/viewer/2022062412/58f313db1a28abf00d8b459f/html5/thumbnails/9.jpg)
![Page 10: Humanities Programming in Ruby](https://reader036.fdocuments.us/reader036/viewer/2022062412/58f313db1a28abf00d8b459f/html5/thumbnails/10.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062412/58f313db1a28abf00d8b459f/html5/thumbnails/11.jpg)
![Page 12: Humanities Programming in Ruby](https://reader036.fdocuments.us/reader036/viewer/2022062412/58f313db1a28abf00d8b459f/html5/thumbnails/12.jpg)
![Page 13: Humanities Programming in Ruby](https://reader036.fdocuments.us/reader036/viewer/2022062412/58f313db1a28abf00d8b459f/html5/thumbnails/13.jpg)
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