Better Framework,
    Better Life.
•            ?

•            Rails         Rails?

• Rails
• Rails
• Rails                             ?

•          Rails...
?
•         (Daniel Lv)

• @lgn21st
• lgn21st@gmail.com
•
• Shanghaionrails founder
• Red.com, Elctech.com, Factual.com
• ...
Intridea,                  ?

• Design & User experience
• Web Development
• Mobile Development
Rails?
•
•           .net

•                        .NET       Rails


•   Why Would a .NET Programmer Learn Ruby
    on R...
Rails
• Rails Ruby      Web Framework

• 2004 7
• DHH 37signals
    Basecamp

•
•
Web Framework?

•            web framework

•         web framework MVC

•         web framework ORM

•         web framew...
Basecamp?

• A web-based project management tool
• About messages, milestone, and todo list
• As simple to use as a weblog...
Rails

•
•   REST

•
•
Rails                                                   ?
         Metric               Java (Spring/Hibernate)        Rub...
Rails                               ?

• Justin Gehtland Java : Rails = 3.5 : 1
• Proc.net PHP : Rails = 10 : 1
• JavaEye ...
Rails Live demo
         Creating a weblog in 15 minutes
http://media.rubyonrails.org/video/rails_blog_2.mov
Rails

•    Ruby   Less code do more

•
•
•
Rails?

•
•
•   ...
Rails
•                        6

• 2005    DHH                Hacker

• 2006    Rails   Jolt

• 2005    2006 Ruby/Rails
 ...
Rails   ?

• Rails
•                 Rails

•         Rails
•   /

•       ......

•
Rails

•           Web

•
•                 /
Rails

 •
 •                 Rails

 •         Rails

 • Rails
 •
Rails is ready for
        enterprise
•
•
• REST, COC, OpenSource...
•
Rails
Rails
• Rails
•
•
•
•
•
           web framework
Rails

•
•           web   Rails

•
•
Rails
• Flexibility is not free
•
•
• Convention over configuration
•
Rails

• Rails
• Rails
•
• Rails
Ruby is designed to
make programmers
happy!
              -Matz
Ruby
?

•
•       Rails

•   /      Clone Rails

•                Rails
/


•     /

•   Rails

•
Rails

• Rails doesn’t scale?
• Rails          ?

• Rails          ?
?
Rails
Rails
• 110%
•
•
•
•
•
•
Rails

• Rails
• Agile web development with Rails
•           http://railscasts.com/

•           http://www.railstutorial...
Rails3


         COOL
Just remember:
Doing website for fun
?
Shanghaionrails

•                 Ruby & Rails

•                            ROR

•
•                   RubyConfChina
   ...
RubyConfChina

• 2010 6 26
•
•         400

• , shanghaionrails       JavaEye

• www.rubyconfchina.org
Q&A
Better Framework Better Life
Better Framework Better Life
Better Framework Better Life
Better Framework Better Life
Better Framework Better Life
Better Framework Better Life
Better Framework Better Life
Better Framework Better Life
Upcoming SlideShare
Loading in …5
×

Better Framework Better Life

3,196 views

Published on

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

Published in: Technology, Education
0 Comments
8 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,196
On SlideShare
0
From Embeds
0
Number of Embeds
738
Actions
Shares
0
Downloads
89
Comments
0
Likes
8
Embeds 0
No embeds

No notes for slide

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

×