• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Ruby Sapporo Night Vol3
 

Ruby Sapporo Night Vol3

on

  • 4,266 views

 

Statistics

Views

Total Views
4,266
Views on SlideShare
4,238
Embed Views
28

Actions

Likes
2
Downloads
74
Comments
0

1 Embed 28

http://ruby-sapporo.org 28

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Ruby Sapporo Night Vol3 Ruby Sapporo Night Vol3 Presentation Transcript

    • Ruby presents Ruby snoozer.05@gmail.com AppleStoreSapporo 2007-10-31( )
    • ✓ ✓ Ruby ✓ Ruby ✓ Leopard Ruby ✓ Ruby on Rails Active Record ✓
    • ✓ ✓ Ruby ✓ Ruby ✓ Leopard Ruby ✓ Ruby on Rails Active Record ✓
    • snoozer.05 ✓ ✓ ʻ06 ✓ Ruby ✓ Ruby ✓ RubyKaigi2007 ✓ ✓ ✓ ✓ http://iddy.jp/profile/snoozer05
    • http://rubyist_level.jitor.net/
    • http://rubyist_level.jitor.net/
    • http://noplans.org/product/t-shirt/
    • ✓ ✓ Ruby ✓ Ruby ✓ Leopard Ruby ✓ Ruby on Rails Active Record ✓
    • ✓ ✓ Ruby ✓ Ruby ✓ Leopard Ruby ✓ Ruby on Rails Active Record ✓
    • Ruby
    • Ruby ✓ ✓ http://www.ruby-lang.org/ja/ ✓ ✓ ✓ ✓ A Programmerʼs Best Friend
    • Ruby ✓ - http://www.ruby-lang.org/ja/install.cgi ✓ - http://www.ruby-lang.org/ja/man/ ✓ - http://www.ruby-lang.org/ja/man/
    • Ruby ✓ PHPer Ruby - http://www.slideshare.net/masuidrive/ ruby-90109 ✓ Java Ruby - http://www.kbmj.com/tech/index.php? itemid=25
    • ✓ ✓ Ruby ✓ Ruby ✓ Leopard Ruby ✓ Ruby on Rails Active Record ✓
    • ✓ ✓ Ruby ✓ Ruby ✓ Leopard Ruby ✓ Ruby on Rails Active Record ✓
    • Ruby
    • Ruby ✓ Ruby ✓ “From Sapporo, With Love For Ruby.” ✓ Ruby @ ✓ RubySapporoNight ← ✓ @ ✓ Ruby&Rails
    • http://ruby-sapporo.org/
    • ✓ ✓ Ruby ✓ Ruby ✓ Leopard Ruby ✓ Ruby on Rails Active Record ✓
    • ✓ ✓ Ruby ✓ Ruby ✓ Leopard Ruby ✓ Ruby on Rails Active Record ✓
    • http://www.apple.com/jp/macosx/
    • “One of the most exciting features for me as a Rubyist is the inclusion of a well Ruby installation.” - Chad Fowler http://www.chadfowler.cm/2007/10/28/ ruby-on-leopard
    • Ruby and Leopard ✓ Ruby : 1.8.6 p36 ✓ RubyGems : 0.9.4 ✓ Ruby on Rails : 1.2.3 ✓ RubyCocoa : 1.0.0 ✓ XCode and Interface Builder ✓ Capistrano, Mongorel
    • http://tarc.macosforge.org/projects/ruby/wiki/ WhatsNewInLeopard
    • “Apple’s latest OS ships with an improved Ruby, but it’s not an un-crippled Ruby - it’s just a less-crippled Ruby.” - Giles Bowkett http://gilesbowkett.blogspot.com/2007/10/ apples-ruby-communities-not-features
    • “Apple’s latest OS ships with an improved Ruby, but it’s not an un-crippled Ruby - it’s just a less-crippled Ruby.” - Giles Bowkett http://gilesbowkett.blogspot.com/2007/10/ apples-ruby-communities-not-features
    • “Apple’s latest OS ships with an improved Ruby, but it’s not an un-crippled Ruby - it’s just a less-crippled Ruby.” - Giles Bowkett http://gilesbowkett.blogspot.com/2007/10/ apples-ruby-communities-not-features
    • ✓ ✓ Ruby ✓ Ruby ✓ Leopard Ruby ✓ Ruby on Rails Active Record ✓
    • ✓ ✓ Ruby ✓ Ruby ✓ Leopard Ruby ✓ Ruby on Rails Active Record ✓
    • Ruby on Rails ActiveRecord
    • ActiveRecord
    • ActiveRecord
    • Rails
    • Rails MVC M
    • ORM Object / Relational Mapping
    • “ RDB ORM RDB RDB ” - IT
    • Active Record “An object that wraps a row in a database table or view, encapsules the database access, and adds domain logic on that data.”
    • ActiveRecord ✓ Rails ✓ MVC M ✓ O/R ✓ P of EAA ʻActive Recordʼ ✓ RDB Ruby
    • ActiveRecord
    • AR
    • DB
    • ORM
    • AR::Base
    • (CRUD)
    • CRUD
    • CRUD
    • CRUD
    • CRUD
    • CRUD
    • DSL
    • 1 1
    • One-to-One has_one user = User.find(:first) user.profile user.profile.nil? user.create_profile(:firstname => “foo”) belongs_to prof = Profile.find(:first) prof.create_user(:login => “snoozer.05”) prof.user.nil? prof.user = user
    • 1
    • One-to-Many has_many apple_store = Site.find(:first) apple_store.events apple_store.events.create(:name => “RSN”) apple_store.events << event belongs_to rsn = Event.find(1) rsn.site.nil? rsn.site = apple_store
    • 1 * * 1
    • Many-to-Many has_many user.register_events user.register_events.nil? user.register_events << event has_many event.members event.members.nil? event.members << user
    • RDB
    • AR ✓ DB ✓ CRUD ✓ ✓ ✓ ✓
    • AR
    • created_at, created_on
    • updated_at, updated_on
    • type STI
    • acts_as_paranoid http://ar-paranoid.rubyforge.org/
    • “delete_at” datetime
    • AR::Observer Observer
    • acts_as_tree http://wiki.rubyonrails.org/rails/pages/ActsAsTree
    • “parent_id”
    • acts_as_list
    • Composite Primary Keys Plugin http://compositekeys.rubyforge.org
    • AR
    • http://d.hatena.ne.jp/mrkn/20071010
    • Lolcats 'n' Funny Pictures
    • AR Rails
    • Ruby on Rails ActiveRecord
    • ✓ ✓ Ruby ✓ Ruby ✓ Leopard Ruby ✓ Ruby on Rails Active Record ✓
    • ✓ ✓ Ruby ✓ Ruby ✓ Leopard Ruby ✓ Ruby on Rails Active Record ✓
    • Ruby @ ✓ 2007 11 17 ✓ ✓ ✓ ✓C Ruby ✓ ✓ ... (ry
    • RubySapporoNight vol.4 ✓ 2007 11 28 ✓ ✓ ✓ ✓ Ruby on Rails ✓
    • ✓ ✓ Ruby ✓ Ruby ✓ Leopard Ruby ✓ Ruby on Rails Active Record ✓