Better Framework Better Life

  • 2,737 views
Uploaded on

RoR是Ruby on …

RoR是Ruby on Rails的缩写,是一个用于编写Web应用的框架。他基于Ruby语言,给开发人员提供了强大便利的框架支持。Ruby有很多优点,但是一直以来其流行范围仅局限于日本。2004年,当Rails框架横空出世,让人们认识到了一个更符合实际需要并且高效的web框架,在其出现不久就受到了业内的广泛关注。吕国宁将结合自己三年的Rails开发经验,给大家介绍一些Rails的优点,背后的设计文化,以及Rails的前景发展等内容。

More in: Technology , Education
  • 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
2,737
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
84
Comments
0
Likes
8

Embeds 0

No embeds

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. Better Framework, Better Life.
  • 2. • ? • Rails Rails? • Rails • Rails • Rails ? • Rails? • Shanghaionrails, RubyConfChina
  • 3. ? • (Daniel Lv) • @lgn21st • lgn21st@gmail.com • • Shanghaionrails founder • Red.com, Elctech.com, Factual.com • Intridea.com
  • 4. Intridea, ? • Design & User experience • Web Development • Mobile Development
  • 5. Rails? • • .net • .NET Rails • Why Would a .NET Programmer Learn Ruby on Rails http://www.infoq.com/articles/Netter- on-Rails • Moving from ASP.net MVC to Ruby on Rails http://www.infoq.com/articles/
  • 6. Rails • Rails Ruby Web Framework • 2004 7 • DHH 37signals Basecamp • •
  • 7. Web Framework? • web framework • web framework MVC • web framework ORM • web framework route mapper Template Session Ajax Security......
  • 8. Basecamp? • A web-based project management tool • About messages, milestone, and todo list • As simple to use as a weblog • Recommend to read the book <<Getting Real>>
  • 9. Rails • • REST • •
  • 10. Rails ? Metric Java (Spring/Hibernate) Ruby & Rails 4 month, approximately Time to market 4 night (5hours/night) 20 hours/week Lines of code 3293 1164 Lines of configuration 1161 113 Number of classes/methods 62/549 55/126 Justin Gehtland: Better, Faster, Lighter Java http://commons.oreilly.com/wiki/index.php/Beyond_Java/Ruby_on_Rails
  • 11. Rails ? • Justin Gehtland Java : Rails = 3.5 : 1 • Proc.net PHP : Rails = 10 : 1 • JavaEye Robbin Java : Rails = 10 : 1
  • 12. Rails Live demo Creating a weblog in 15 minutes http://media.rubyonrails.org/video/rails_blog_2.mov
  • 13. Rails • Ruby Less code do more • • •
  • 14. Rails? • • • ...
  • 15. Rails • 6 • 2005 DHH Hacker • 2006 Rails Jolt • 2005 2006 Ruby/Rails 1552% • Rails
  • 16. Rails ? • Rails • Rails • Rails
  • 17. • / • ...... •
  • 18. Rails • Web • • /
  • 19. Rails • • Rails • Rails • Rails •
  • 20. Rails is ready for enterprise • • • REST, COC, OpenSource... •
  • 21. Rails
  • 22. Rails • Rails • • • • • web framework
  • 23. Rails • • web Rails • •
  • 24. Rails • Flexibility is not free • • • Convention over configuration •
  • 25. Rails • Rails • Rails • • Rails
  • 26. Ruby is designed to make programmers happy! -Matz
  • 27. Ruby
  • 28. ? • • Rails • / Clone Rails • Rails
  • 29. / • / • Rails •
  • 30. Rails • Rails doesn’t scale? • Rails ? • Rails ?
  • 31. ?
  • 32. Rails
  • 33. Rails
  • 34. • 110% • •
  • 35. • • • •
  • 36. Rails • Rails • Agile web development with Rails • http://railscasts.com/ • http://www.railstutorial.org/ book
  • 37. Rails3 COOL
  • 38. Just remember: Doing website for fun
  • 39. ?
  • 40. Shanghaionrails • Ruby & Rails • ROR • • RubyConfChina KungfuRails
  • 41. RubyConfChina • 2010 6 26 • • 400 • , shanghaionrails JavaEye • www.rubyconfchina.org
  • 42. Q&A