Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

[.Net开发交流会][2010.06.19]better framework better life(吕国宁)

1,258 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

[.Net开发交流会][2010.06.19]better framework better life(吕国宁)

  1. 1. Better Framework, Better Life.
  2. 2. • ? • Rails Rails? • Rails • Rails • Rails ? • Rails? • Shanghaionrails, RubyConfChina
  3. 3. ? • (Daniel Lv) • @lgn21st • lgn21st@gmail.com • • Shanghaionrails founder • Red.com, Elctech.com, Factual.com • Intridea.com
  4. 4. Intridea, ? • Design & User experience • Web Development • Mobile Development
  5. 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. 6. Rails • Rails Ruby Web Framework • 2004 7 • DHH 37signals Basecamp • •
  7. 7. Web Framework? • web framework • web framework MVC • web framework ORM • web framework route mapper Template Session Ajax Security......
  8. 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. 9. Rails • • REST • •
  10. 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. 11. Rails ? • Justin Gehtland Java : Rails = 3.5 : 1 • Proc.net PHP : Rails = 10 : 1 • JavaEye Robbin Java : Rails = 10 : 1
  12. 12. Rails Live demo Creating a weblog in 15 minutes http://media.rubyonrails.org/video/rails_blog_2.mov
  13. 13. Rails • Ruby Less code do more • • •
  14. 14. Rails? • • • ...
  15. 15. Rails • 6 • 2005 DHH Hacker • 2006 Rails Jolt • 2005 2006 Ruby/Rails 1552% • Rails
  16. 16. Rails ? • Rails • Rails • Rails
  17. 17. • / • ...... •
  18. 18. Rails • Web • • /
  19. 19. Rails • • Rails • Rails • Rails •
  20. 20. Rails is ready for enterprise • • • REST, COC, OpenSource... •
  21. 21. Rails
  22. 22. Rails • Rails • • • • • web framework
  23. 23. Rails • • web Rails • •
  24. 24. Rails • Flexibility is not free • • • Convention over configuration •
  25. 25. Rails • Rails • Rails • • Rails
  26. 26. Ruby is designed to make programmers happy! -Matz
  27. 27. Ruby
  28. 28. ? • • Rails • / Clone Rails • Rails
  29. 29. / • / • Rails •
  30. 30. Rails • Rails doesn’t scale? • Rails ? • Rails ?
  31. 31. ?
  32. 32. Rails
  33. 33. Rails
  34. 34. • 110% • •
  35. 35. • • • •
  36. 36. Rails • Rails • Agile web development with Rails • http://railscasts.com/ • http://www.railstutorial.org/ book
  37. 37. Rails3 COOL
  38. 38. Just remember: Doing website for fun
  39. 39. ?
  40. 40. Shanghaionrails • Ruby & Rails • ROR • • RubyConfChina KungfuRails
  41. 41. RubyConfChina • 2010 6 26 • • 400 • , shanghaionrails JavaEye • www.rubyconfchina.org
  42. 42. Q&A

×