Sunday, April 5, 2009

Week 1: Rails Passion Course - 1.1 (Lab/Homework)

  1. Sunday - 3:19pm - Can't get Mac set up enough so I will do Week 1 on my Vista/64 box.
  2. Okay, now for the Lab/(1b3)Homework (87 pages). http://www.javapassion.com/rubyonrails/
  3. (1b2) Online lab document and (1b4) Change Log (overall)
  4. Downloaded (1b1) 5510_ruby_basics.zip and installed it in $HOME/RAILSPASSION as $HOME/RAILSPASSION/ruby_basics.
  5. I have Java SDK (JDK 6.0) (6 Update 13). (p.1)
  6. Uploaded NetBeans IDE 6.5.1. (p.1) http://www.netbeans.org/community/releases/65/1/install.html I pick the EVERYTHING option regarding languages. (p.1)
  7. Exercise 0: Install JDK and NetBeans IDE (20 minutes) (first 10 pages; Skipped this because already installed stuff)
  8. Exercise 1: Ruby Language Basics (30 minutes) (Pages 11-25)
  9. (1.2) IRB: (pages 26-29) NOTE: Could not find "Ruby Shell (IRB)" so I checked past emails from group and found that I now just RIGHT click on top Ruby program "MyRubyProgramWk1" and select "Ruby Shell (IRB)". (p.26)
  10. (1.3) StringClass: (pages 29- 38) NOTE: On page 30, I had to point Netbeans to my $HOME/RAILSPASSIONS/ruby_basics/samples directory.
  11. (1.4) EverythingsIsObject (pages 38-41)
  12. (1.5) Ruby_ArrayClass (pages 41-42)
  13. (1.6) Ruby_Iteration (pages 43-44)
  14. (1.7) Ruby_HashClass (pages 44-45)
  15. (1.8) Ruby_HashClass_Iteration (pages 45-46)
  16. (1.9) Ruby_NamingConvention (pages 46-47)
  17. (1.10) Ruby_SymbolClass (pages 47-48)
  18. (1.11) Ruby_SymbolClass2 (pages 48-49)
  19. (1.12) Ruby_RegularExpression (page 49)
  20. (1.13) Ruby_StringClass2 (page 50)
  21. (1.14) Ruby_StringClass_Interpolation (pages 50-51)
  22. (1.15) Ruby_Numbers (pages 51-51)
  23. Exercise 2: Ruby Class and Objects (30 minutes) (p.52-56)
  24. (2.1) RubyClass_HelloClass (pages 52-53)
  25. (2.2) RubyClass_attr_accessor (pages 53-54)
  26. (2.3) RubyClass_inheritance" (pages 54-56)
  27. (2.4) RubyClass_AddMethod" (pages 56-56)
  28. Exercise 3: Ruby Methods (30 minutes) (pages 57-63)
  29. (3.1) RubyMethod_Chaining (page 57)
  30. (3.2) RubyMethod_ClassMethod (page 58)
  31. (3.3) RubyMethod_DefaultValueArgument (pages 58-59)
  32. (3.4) RubyMethod_VariableArguments (page 59)
  33. (3.5) RubyMethod_ArrayToArguments (pages 59-60)
  34. (3.6) RubyMethod_HashArgument (page 60)
  35. (3.7) RubyMethod_Parentheses (page 61)
  36. (3.8) RubyMethod_Bang (page 62)
  37. (3.9) RubyMethod_Bang2 (page 62-63)
  38. (3.10) RubyMethod_Alias (page 63)
  39. Exercise 4: Ruby Variables (10 minutes) (pages 64-66)
  40. (4.1) RubyVariable_dynamicTyping (page 64)
  41. (4.2) RubyVariable_LocalVariable (page 64-65)
  42. (4.3) RubyVariable_ClassVariable (page 65-66)
  43. Exercise 5: Ruby Modules (30 minutes) (pages 66-69)
  44. (5.1) RubyModule_Namespace (pages 66-67)
  45. (5.2) RubyModule_Mizin1 (pages 67-68)
  46. (5.3) RubyModule_Mixin2 (pages 68-69)
  47. Exercise 6: Ruby IO (30 minutes) (pages 69-78)
  48. (6.1) RubyIO_keyboard (pages 69-73)
  49. (6.2) RubyIO_file (pages 78)
  50. Exercise 7: Ruby Control Structure (30 minutes) (pages 78-82)
  51. (7.1) RubyControl_Assignment (pages 78-78)
  52. (7.2) RubyControl_TrueFalse (page 79)
  53. (7.3) RubyControl_Conditionals (page 80)
  54. (7.4) RubyControl_Loops (page 80-82)
  55. Exercise 8: Exception (30 minutes) (pages 82-
  56. (8.1) RubyException_raise (page 82-84)
  57. (8.2) RubyException_rescue (page 85)
  58. (8.3) RubyException_retry (page 85-86)
  59. (8.4) RubyException_structure (page 86)
  60. Homework Exercise (for people who are taking Sang Shin's "Ruby/Jruby/Rails Development online course")
  61. Homework done and emailed at ~7:30pm on 4/5/2009. Hardest part was figuring out how to create ZIP archive.
  62. Two misc typos: (a) Page 51: "Ruby_StringClass_Numbers" should be "Ruby_Numbers".
    (b) Page 78: "Ruby_Assignment" should "Ruby_Assigments" to match the code.

No comments:

Post a Comment