Instruments ruby on rails

  • 1,737 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
1,737
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
22
Comments
0
Likes
1

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