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入門”

  • 9,045 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
9,045
On Slideshare
8,184
From Embeds
861
Number of Embeds
7

Actions

Shares
Downloads
116
Comments
0
Likes
3

Embeds 861

http://d.hatena.ne.jp 692
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

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

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