Starting a new ruby on rails development

970 views

Published on

Starting a new ruby on rails development can be confusion.
I've tried, for this talk to summarize all the different choices you'll have to make.

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

No Downloads
Views
Total views
970
On SlideShare
0
From Embeds
0
Number of Embeds
13
Actions
Shares
0
Downloads
36
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Starting a new ruby on rails development

  1. 1. Starting new Rails development ? not_act_as_sheep    
  2. 2. Ruby    
  3. 3. Ruby 1.8.x Exists since 2003 ● Current stable version ● All gems should be compatible ● Slowest version ● Problems with garbage collector ●    
  4. 4. Ruby Enterprise edition Developed by Phusion team ● Fully compatible with Ruby 1.8.6 ● Memory print optimisation ● Garbage collection improvement ●    
  5. 5. Ruby 1.9.x Stable (since 1.9.1) ● Memory print improvement ● Garbage collector improvement ● Not all gems are compatible ●    
  6. 6. Web server and App server    
  7. 7. Web servers and App servers Web server ● Apache ● Lighthttpd ● Nginx ● App server ● Mongrel ● Thin ● Passenger (aka Mod_Rails) ●    
  8. 8. Databases    
  9. 9. Different databases available Sqlite3 ● Mysql ● PostgreSql ● Oracle ●    
  10. 10. Testing    
  11. 11. TDD vs BDD What's Test-Driven Development ? ● Software design method ● Short development iteration ● What's Behaviour-Driven Development ? ● Software design method ● Use comprehensive specification in your native ● language    
  12. 12. Testing Frameworks (and friends) Testing frameworks ● Test::Unit ● Rspec ● Shoulda ● Mocking ● Mocha ● Flexmock ● RR ● Working with fixtures ● Fixtures ● Factory girl ● Machinist ●    
  13. 13. Templating    
  14. 14. Templating format Html/Erb ● HAML ● Textile (using RedCloth) ● Markaby ● Markdown (using BlueCloth) ●    
  15. 15. Plugins    
  16. 16. Authentication Restful_Authentication ● Historically the oldest ● Probably currently the most used ● The most complete ● Cleareance ● Easy setup ● Easy syntax ● Authlogic ● Lighter implementation ●    
  17. 17. Attachment Attachement_fu ● Historically the first Rails attachment plugin ● Polymorphism ● Complex but customizable ● Paperclip ● Newer ● Lighter ● No polymorphism ● Works without Rmagick ●    
  18. 18. Other useful plugins Will_paginate ● act_as_rated ● act_as_comentable ● Thinking Sphinx ●    
  19. 19. Conclusion    
  20. 20. What should I choose ? There is not better solution than the one you're comfortable with !! not_act_as_sheep    
  21. 21. Slides provided by Nicolas Alpi Credits http://www.flickr.com/photos/kattenmeisje/501105007/ Nuovola icons    

×