2007/09/29 PHP to Rails - Webキャリアさん主催 ”PHPプログラマの為のRuby on Rails入門”
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

2007/09/29 PHP to Rails - Webキャリアさん主催 ”PHPプログラマの為のRuby on Rails入門”

on

  • 9,017 views

 

Statistics

Views

Total Views
9,017
Views on SlideShare
8,159
Embed Views
858

Actions

Likes
3
Downloads
116
Comments
0

7 Embeds 858

http://d.hatena.ne.jp 689
http://blog.masuidrive.jp 158
http://webcache.googleusercontent.com 5
http://localhost 2
http://hatenatunnel.appspot.com 2
http://72.14.235.104 1
http://ss.dotbranch.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

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

2007/09/29 PHP to Rails - Webキャリアさん主催 ”PHPプログラマの為のRuby on Rails入門” Presentation Transcript

  • 1. class User < ActiveRecord::Base end
  • 2. class User < ActiveRecord::Base has_many :books end
  • 3. class User < ActiveRecord::Base set_table_name 'user' set_primary_key 'pkey' end
  • 4. ITPro
  • 5. http://localhost:3000/
  • 6. DB DB DB
  • 7. DB
  • 8. app/models/todo.rb AR::Base O/R
  • 9. Rails
  • 10. Rails
  • 11. View Controller Model Rails mongrel
  • 12. View Controller Model
  • 13. View Controller Model URL params[]
  • 14. View Controller URL Model URL params[]
  • 15. View Controller Model.find,model.save URL Model URL params[]
  • 16. View Controller Model.find,model.save URL Model URL params[]
  • 17. View Controller Model.find,model.save URL Model URL params[]
  • 18. Rails
  • 19. Todo paginate
  • 20. Todo paginate HTML
  • 21. Todo edit id 1
  • 22. :partial _ .rhtml
  • 23. @todo <textarea> @todo.description
  • 24. URL redirect
  • 25. app/models/todo.rb description
  • 26. class
  • 27. Linux
  • 28. Linux