five minutes introduction for rails

Download Five Minutes Introduction For Rails

Post on 30-Nov-2014

2.218 views

Category:

Technology

0 download

Embed Size (px)

DESCRIPTION

 

TRANSCRIPT

  • Presents

  • JINNISHIKAWA

    SHINTAROKAKUTANI

    Special Thanks

  • ESMLLWG

    EIJIIENAGA

    Special Thanks

    AND

  • Grady Booch

  • 20051213

    On December 13, 2005 the David Heinemeier Hanson major releasedon excellent framework for the all of its programmers.Its purpose was to get back the lost Quality of Engineering Lifeand to insure that the all of men who comprehensivewere the nice programmers in the world.

    They succeeded.

    Today, the Programmer calls it Web Application Framework.The programmers call it:

  • DHH

    On December 13, 2005 the David Heinemeier Hanson major releasedon excellent framework for the all of its programmers.Its purpose was to get back the lost Quality of Engineering Lifeand to insure that the all of men who comprehensivewere the nice programmers in the world.

    They succeeded.

    Today, the Programmer calls it Web Application Framework.The programmers call it:

  • WebF/W

    On December 13, 2005 the David Heinemeier Hanson major releasedon excellent framework for the all of its programmers.Its purpose was to get back the lost Quality of Engineering Lifeand to insure that the all of men who comprehensivewere the nice programmers in the world.

    They succeeded.

    Today, the Programmer calls it Web Application Framework.The programmers call it:

  • On December 13, 2005 the David Heinemeier Hanson major releasedon excellent framework for the all of its programmers.Its purpose was to get back the lost Quality of Engineering Lifeand to insure that the all of men who comprehensivewere the nice programmers in the world.

    They succeeded.

    Today, the Programmer calls it Web Application Framework.The programmers call it:

  • WebF/W

    On December 13, 2005 the David Heinemeier Hanson major releasedon excellent framework for the all of its programmers.Its purpose was to get back the lost Quality of Engineering Lifeand to insure that the all of men who comprehensivewere the nice programmers in the world.

    They succeeded.

    Today, the Programmer calls it Web Application Framework.The programmers call it:

  • Get back the lost Quality of Engineering Life with

  • Part1: RailsPart1: RailsPart2: RailsPart2: RailsPart3: RailsPart3: RailsRubyRuby

  • 1.1.DRYDRY2.2.CoCCoC

  • DonDon ttRepeatRepeat

    YourselfYourself

  • ConventionConventionoverover

    ConfigurationConfiguration

  • 1.1.ARAR2.2.APAP3.3.RailsRails

  • ORM

  • PoEAAORM

    http://http://capsctrl.que.jp/kdmsnr/wiki/PofEAA/?ActiveRecordcapsctrl.que.jp/kdmsnr/wiki/PofEAA/?ActiveRecord

  • class Person < ActiveRecord::Baseend

    app/models/app/models/person.rbperson.rb

    ActiveRecord::Base

  • MigrationDB

    class CreatePeople < ActiveRecord::Migrationdef self.up

    create_table :people do |table|table.column :first_name, :string, :limit => 32table.column :last_name, :string, :limit => 32table.column :number_of_dependents, :integer

    endenddef self.down

    drop_table :peopleend

    end

    db/migrate/001_create_people.rbdb/migrate/001_create_people.rb

  • Ruby

    RubyRuby

  • ActionControllerActionView

  • class PeopleController < ActionController::Basedef show@person = Person.find(params[:id])

    endend

    app/controllers/app/controllers/people_controller.rbpeople_controller.rb

    ActionController::Base

  • :

    app/views/people/app/views/people/show.rhtmlshow.rhtml

  • app/views/layouts/app/views/layouts/people.rhtmlpeople.rhtml

  • ToolToolMattersMatters

  • 1.1.DSLDSL2.2.AgileAgile3.3.FunFun

  • DSLDSL

  • Human ReadableHuman Readable

  • 1.1.2.2.3.3.(())

    http://blog.nikkeibp.co.jp/itpro/java/archives/2006/02/rubydsl.hhttp://blog.nikkeibp.co.jp/itpro/java/archives/2006/02/rubydsl.htmltml

    RubyDSL

  • Is Is RubyRuby Agile?Agile?

    2005

    http://www.objectclub.jp/event/2005christmas/schedule#2http://www.objectclub.jp/event/2005christmas/schedule#2--22

  • Ruby

    http://www.rubyist.net/~matz/slides/oc2005/mgp00005.htmlhttp://www.rubyist.net/~matz/slides/oc2005/mgp00005.html

  • QoELQoEL

  • / /

    Ruby

  • EnjoyEnjoyEngineering LifeEngineering Life