Ruby on Rails

1,276 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
1,276
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Ruby on Rails

  1. 1. Ruby on Rails developing web applications
  2. 2. Netguru Poznań-based web development and consulting company
  3. 3. • http://codetunes.com • http://devguru.pl
  4. 4. we’re gonna... • show you some live coding • give a talk about “why choose rails”
  5. 5. web development • before today • today and tomorrow
  6. 6. web development now • open-source technologies and tools • server-side frameworks • javascript libraries • shorter development cycles
  7. 7. with Rails you focus on • creating functionality, not creating code
  8. 8. Rails is... • Rails is opinionated • “If you try to design for the 20 percent of your target audience who are power users, your design may be not usable by the other 80 percent of users”. • if one feature satisfy 20% of your customers - it’s not worth implementing • convention over configurations
  9. 9. DRY, KISS • Don’t Repeat Yourself! • Keep It Simple, Stupid!
  10. 10. Code • the less code you write, the more maintainable and flexible your app is • you don’t have to ship your product to your customers - show it, get feedback, make it better, deploy a new version, get feedback...
  11. 11. most of the things are done for you. • routing • database • MVC • data, time zones • CSRF attacks • ...and many more.
  12. 12. developer’s tools for... • deployment • testing • maintaining code • monitoring your production application
  13. 13. deployment capistrano webistrano
  14. 14. testing • TDD • shoulda, factory_girl, cruisecontrol
  15. 15. maintaining code svn git ...and github
  16. 16. monitoring production application hoptoad newrelic
  17. 17. do things faster! • gems • plugins
  18. 18. community support • blogs, wiki, railscasts, podcasts, e-books, traditional books, irc channels, discussion boards... • it’s a great thing. really.
  19. 19. The Rails Myths: Rails • ...is hard to deploy • ...is hard because of ruby • ...only speaks english
  20. 20. Rails is hard to deploy • Phusion Passenger • hosting Rails in Poland? no longer a pain in the ...arm
  21. 21. Rails is hard because of Ruby • just try it yourself. • http://tryruby.hobix.com • it takes as much time as it would to learn a framework in language that you already know. • and then things go faster. and they are easier. and prettier. and better. believe me.
  22. 22. Rails only speaks english • UTF8 • internalization • time zones
  23. 23. downsides of rails? • convention over configuration • it’s harder to satisfy geeks and power users
  24. 24. Questions, comments?

×