- Sunday - 3:19pm - Can't get Mac set up enough so I will do Week 1 on my Vista/64 box.
- Okay, now for the Lab/(1b3)Homework (87 pages). http://www.javapassion.com/rubyonrails/
- (1b2) Online lab document and (1b4) Change Log (overall)
- Downloaded (1b1) 5510_ruby_basics.zip and installed it in $HOME/RAILSPASSION as $HOME/RAILSPASSION/ruby_basics.
- I have Java SDK (JDK 6.0) (6 Update 13). (p.1)
- 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)
- Exercise 0: Install JDK and NetBeans IDE (20 minutes) (first 10 pages; Skipped this because already installed stuff)
- Exercise 1: Ruby Language Basics (30 minutes) (Pages 11-25)
- (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)
- (1.3) StringClass: (pages 29- 38) NOTE: On page 30, I had to point Netbeans to my $HOME/RAILSPASSIONS/ruby_basics/samples directory.
- (1.4) EverythingsIsObject (pages 38-41)
- (1.5) Ruby_ArrayClass (pages 41-42)
- (1.6) Ruby_Iteration (pages 43-44)
- (1.7) Ruby_HashClass (pages 44-45)
- (1.8) Ruby_HashClass_Iteration (pages 45-46)
- (1.9) Ruby_NamingConvention (pages 46-47)
- (1.10) Ruby_SymbolClass (pages 47-48)
- (1.11) Ruby_SymbolClass2 (pages 48-49)
- (1.12) Ruby_RegularExpression (page 49)
- (1.13) Ruby_StringClass2 (page 50)
- (1.14) Ruby_StringClass_Interpolation (pages 50-51)
- (1.15) Ruby_Numbers (pages 51-51)
- Exercise 2: Ruby Class and Objects (30 minutes) (p.52-56)
- (2.1) RubyClass_HelloClass (pages 52-53)
- (2.2) RubyClass_attr_accessor (pages 53-54)
- (2.3) RubyClass_inheritance" (pages 54-56)
- (2.4) RubyClass_AddMethod" (pages 56-56)
- Exercise 3: Ruby Methods (30 minutes) (pages 57-63)
- (3.1) RubyMethod_Chaining (page 57)
- (3.2) RubyMethod_ClassMethod (page 58)
- (3.3) RubyMethod_DefaultValueArgument (pages 58-59)
- (3.4) RubyMethod_VariableArguments (page 59)
- (3.5) RubyMethod_ArrayToArguments (pages 59-60)
- (3.6) RubyMethod_HashArgument (page 60)
- (3.7) RubyMethod_Parentheses (page 61)
- (3.8) RubyMethod_Bang (page 62)
- (3.9) RubyMethod_Bang2 (page 62-63)
- (3.10) RubyMethod_Alias (page 63)
- Exercise 4: Ruby Variables (10 minutes) (pages 64-66)
- (4.1) RubyVariable_dynamicTyping (page 64)
- (4.2) RubyVariable_LocalVariable (page 64-65)
- (4.3) RubyVariable_ClassVariable (page 65-66)
- Exercise 5: Ruby Modules (30 minutes) (pages 66-69)
- (5.1) RubyModule_Namespace (pages 66-67)
- (5.2) RubyModule_Mizin1 (pages 67-68)
- (5.3) RubyModule_Mixin2 (pages 68-69)
- Exercise 6: Ruby IO (30 minutes) (pages 69-78)
- (6.1) RubyIO_keyboard (pages 69-73)
- (6.2) RubyIO_file (pages 78)
- Exercise 7: Ruby Control Structure (30 minutes) (pages 78-82)
- (7.1) RubyControl_Assignment (pages 78-78)
- (7.2) RubyControl_TrueFalse (page 79)
- (7.3) RubyControl_Conditionals (page 80)
- (7.4) RubyControl_Loops (page 80-82)
- Exercise 8: Exception (30 minutes) (pages 82-
- (8.1) RubyException_raise (page 82-84)
- (8.2) RubyException_rescue (page 85)
- (8.3) RubyException_retry (page 85-86)
- (8.4) RubyException_structure (page 86)
- Homework Exercise (for people who are taking Sang Shin's "Ruby/Jruby/Rails Development online course")
- Homework done and emailed at ~7:30pm on 4/5/2009. Hardest part was figuring out how to create ZIP archive.
- 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.
Sunday, April 5, 2009
Week 1: Rails Passion Course - 1.1 (Lab/Homework)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment