Thursday, January 10, 2013

DHWI: Humanities programming: Day 3

Day Three

Introduction to Rails
We spent the day coding in Rails! Here is a summary:
  • We developed a real world example, a voting system that we could manipulate.
  • Ruby on Rails was set up and we used basic tools such as a source control, editor, console, local server and moved our work from the local host to the remote server. 
  • The concepts Model, Viewer, Controller were explained. 
  • Learned about CRUD: Create, Read, Update, and Destroy records. 
  • The uses of Git--back up regularly with specific messages. 
  • Set up Heroku, a cloud-driven platform that lets you use the application and store it (GitHub does not do this)
  • Used Gems, ready made apps for Ruby. 
  • We created a new repository (repo) on GitHub so we can share our files with the world.
Million Syllabi Hackathon
In the evening, I attended the Million Syllabi Hackathon with Dave Lester. How can we manipulate thousands of syllabi gathered from 2002-2009 to find meaningful relationships with words, documents, etc.  and what sort of challenges are faced with working big data.  The file unpacked was over 700MB.


Useful Tools and Web Sites encountered over Day Three
 
A Note about Git Commit Messages
http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html

Getting Started with Ruby on Rails
http://www.alistapart.com/articles/gettingstartedwithrubyonrails/

Heroku: http://www.heroku.com/

Prism:  http://prism.scholarslab.org/pages/index?locale=en

Rails for Zombies: http://railsforzombies.org/

Ruby and Rails Resources Pinterest: http://pinterest.com/pvnrtmol/ruby-and-rails-resources/
RailsCasts: http://railscasts.com/
Ruby Rogues: http://rubyrogues.com/ (for advanced users)
Ruby Inside: http://www.rubyinside.com/
Ruby Weekly: http://rubyweekly.com/?m
Ruby User Groups: http://rubyusergroups.org/

No comments: