Instruments of Ruby on Rails Pavlo Mashchak July 09, 2011 Common facets and principles of Ruby on Rails model. And additio...
Instruments of Ruby on Rails Overview <ul><li>For last several years we saw significant changes in web frameworks.
Developers strive for:
quality of code,
speed of development processes,
reliable code.
Ruby on Rails in corporate all of these. </li></ul>
Ruby on Rails incorporate all of these. <ul>It's modular. <li>With supplied plugins and gems you can build multi-level app...
http://gems.github.com/
Beside you own gem/plugins can be included into the project. Or even you can contribute to Rails if find some bugs.
RVM, gem Bundler.
Upcoming SlideShare
Loading in...5
×

Instruments ruby on rails

1,841

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,841
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
24
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Instruments ruby on rails

  1. 1. Instruments of Ruby on Rails Pavlo Mashchak July 09, 2011 Common facets and principles of Ruby on Rails model. And additional instruments for rapid development.
  2. 2. Instruments of Ruby on Rails Overview <ul><li>For last several years we saw significant changes in web frameworks.
  3. 3. Developers strive for:
  4. 4. quality of code,
  5. 5. speed of development processes,
  6. 6. reliable code.
  7. 7. Ruby on Rails in corporate all of these. </li></ul>
  8. 8. Ruby on Rails incorporate all of these. <ul>It's modular. <li>With supplied plugins and gems you can build multi-level application. Just add source. http://gems.rubyforge.org/
  9. 9. http://gems.github.com/
  10. 10. Beside you own gem/plugins can be included into the project. Or even you can contribute to Rails if find some bugs.
  11. 11. RVM, gem Bundler.
  12. 12. RVM allows to install several Ruby versions on one machine and switch them by one command.
  13. 13. Bundler allows to manage dependencies within different gems and install them into the system ether freeze into the project. </li></ul>Instruments of Ruby on Rails
  14. 14. Instruments of Ruby on Rails rvm list, rvm install vim Gemfile bundle install
  15. 15. Instruments of Ruby on Rails <ul>Don't create just generate <li>With rails generators you can generate any part of application or full fledged web page with integrated CRUD operations:
  16. 16. rails g scaffold articles title:string body:text </li></ul>
  17. 17. Instruments of Ruby on Rails <ul>Data layers <li>Bunch of different ORMs can expand any popular database you like.
  18. 18. (Postgres, MySQL, MongoDB, Redis)
  19. 19. and many others.
  20. 20. ORM saves SQL code and allows to retrieve any instance associations from models. (Polymorphic, Single Table Inherited, eager joins etc.) </li></ul>This association generate 2 level join from Users table
  21. 21. Instruments of Ruby on Rails <ul>Rails console <li>You can load all project environment and debug application in console </li></ul>
  22. 22. Instruments of Ruby on Rails <ul>Test driven and Behavior driven development <li>Rails was designed to build your application in test or behavior driven style.
  23. 23. You will always sure that you didn't break anything. And all features work as well.
  24. 24. Rspec Cucumber WebRat </li></ul>
  25. 25. Instruments of Ruby on Rails <ul>Deploy or create featured script tasks. <li>Rake and Capistrano </li></ul>
  26. 26. Instruments of Ruby on Rails Conclusions <ul><li>Ruby is not slow
  27. 27. Rails is agile
  28. 28. Rails is powerful and easy learning framework
  29. 29. Top - 50 Rails sites:
  30. 30. http://twitter.com/ [Ruby on Rails, Scala] 190 mln users 65 mln tweeting
  31. 31. http://www.slideshare.net/ 600 mln registered 45 mln month
  32. 32. http://basecamphq.com/ 1mln
  33. 33. http://www.courseadvisor.com/ 3.3 million unique visitors per month
  34. 34. http://www.adtaily.com/ 12 mln users and 65% market in poland </li></ul>
  35. 35. Instruments of Ruby on Rails Thanks for attention. If you have any Questions. Mailto: [email_address] Skype: pavlomashchak
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×