Ruby on Rails Fundamentals, Class 1

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Ruby on Rails Fundamentals, Class 1 - Presentation Transcript

    1. Ruby on Rails Fundamentals
      6:30 PM - 8:30 PM
      Aug 25 - Sep 29
    2. What is Ruby on Rails?
      Ruby is a language. Rails is a framework.
      If you want to understand Rails, you need to be fluent in Ruby.
      Rails applications are Ruby applications.
    3. The Ruby Language
      Originally by Yukihiro "Matz" Matsumoto
      “Ruby is designed for programmer productivity and fun, following the principles of good user interface design. He stresses that systems design needs to emphasize human, rather than computer, needs.”
      http://en.wikipedia.org/wiki/Ruby_(programming_language)#History
      Ruby 1.0 was released in 1996.
    4. What you will learn
      Ruby
      Language concepts
      Language syntax
      Common patterns
      Rails Framework: creating web applications
      Scaffold
      Model, View, Controllers
      SQL Queries
      HTTP with REST and Routes
      Log files and debugging
      Associations
    5. How you will learn
      Exploration: experiment, play
      Test-Driven Development (TDD)
      Initially as a learning methodology
      Later as a development methodology
      Ask questions
      Learn to find your own answers
      Read
      Plus whatever works best for you
    6. Class Structure
      Talk
      Live Coding Demonstrations
      In-class coding
      Coding at home (or in social groups)
      Google Group
    7. Ruby Language Overview
      Dynamically typed
      Interpreted
      Can be modified at runtime
      Object oriented
      Blocks & lambdas
      Nice support for Regular Expressions
    8. Lets get started
      IRB: InteractiveRuBy
      >> 4
      >> 4 + 4
    9. Everything is an object
      “test”.upcase
      “test”.class
      “test”.methods
    10. Everything evaluates to something
      2 + 2
      (2+2).zero?
    11. Methods are Messages
      thing.do(4)
      thing.do 4
      thing.send “do”, 4
    12. Operators are Methods
      thing.do 4
      thing.do(4)
      thing.send “do”, 4
      1 + 2
      1.+(2)
      1.send "+", 2
    13. Iteration
      my_list = ["cat", "dog", ”world"]
      my_list .each do |item|
      puts "hello" + item
      end
    14. Test-First Learning
      Similar methodology to TDDwith a different purpose and workflow
      Teacher writes the test
      Student implements the code
    15. Test-Driven Development
      Design
      Focus / Project Management
      Creation of Tests
    16. Time to Write Code

    + Sarah AllenSarah Allen, 3 months ago

    custom

    245 views, 1 favs, 0 embeds more stats

    Ruby on Rails Fundamentals, slides for Class 1

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 245
      • 245 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 12
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Tags