Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ruby, RoR, RestClient, and GData @ AllPlayers.com

allplayers
August 17, 2012

Ruby, RoR, RestClient, and GData @ AllPlayers.com

Arturo Contreras slides from AllPlayers.com Eat 'n Geek on Ruby

allplayers

August 17, 2012
Tweet

More Decks by allplayers

Other Decks in Technology

Transcript

  1. Ruby History and Purpose Ruby is a dynamic, reflective, general-purpose

    object- oriented programming language that combines syntax inspired by Perl with Smalltalk-like features. It was also influenced by Eiffel and Lisp. Ruby was first designed and developed in the mid-1990s by Yukihiro "Matz" Matsumoto in Japan. http://en.wikipedia.org/wiki/Ruby_(programming_language) At a Google Tech Talk in 2008 Matsumoto further stated, "I hope to see Ruby help every programmer in the world to be productive, and to enjoy programming, and to be happy. That is the primary purpose of Ruby language."
  2. Ruby Basics - basics (puts, etc..) - variables (@, @@,

    $, CONSTANTS) - methods (def) - classes (initialize, etc..) - Holding Spots in a String (puts "Hello #{@variable}" - Cycling and iteration (.each, etc..)
  3. ROR History - Application framework written in ruby. - David

    Heinemeier Hansson extracted Ruby on Rails from his work on Basecamp, a project management tool by 37signals in 2004. - In August 2006, Rails was released as part of mac 10.5 Leopard. - As of February 2012, it is estimated that over 235,000 web sites are running Ruby on Rails
  4. Ruby on Rails principles - DRY - Convention over Configuration

    - REST is the best pattern for web applications
  5. Rails Setup - gem install rails - rails blog -

    rake db:create - script/server - script/generate controller home index
  6. LINKS 1. Ruby in 20 minutes - http://www.ruby- lang.org/en/documentation/quickstart/ 2.

    ROR - http://guides.rubyonrails.org/v2.3.8 /getting_started.html 3. https://github.com/archiloque/rest-client 4. https://code.google.com/p/gdata- samples/source/browse/#svn/trunk/doclist /DocListManager