Riding on rails3 with full stack of gems

24
Copyright 2010, Intridea Inc. All Rights Reserved.

description

This presentation was shared in a TeaHour meeting with all Intridea China Team.

Transcript of Riding on rails3 with full stack of gems

Page 1: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

Page 2: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

Ruby on Rails

Page 3: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

Ruby Gems

Page 4: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

Yes, popular!

Page 5: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

Page 6: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

1. Authentication

  OmniAuth - https://github.com/intridea/omniauth

  Devise - https://github.com/plataformatec/devise

Page 7: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

2. Access Control

  CanCan - https://github.com/ryanb/cancan

  declarative_authorization - https://github.com/stffn/declarative_authorization

Page 8: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

3. Views/Page Style

  compass - https://github.com/chriseppstein/compass

  haml - https://github.com/nex3/haml

  sanitize - https://github.com/rgrove/sanitize

Page 9: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

4. Admin scaffold

  rails_admin - https://github.com/sferik/rails_admin

  web-app-theme - https://github.com/andreferraro/web-app-theme

Page 10: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

5. Quick SNS

  acts-as-taggable-on - https://github.com/mbleigh/acts-as-taggable-on   has_friends-rails3 - https://github.com/rrouse/has_friends   acts_as_favable - https://github.com/yorzi/acts_as_favable   thumbs_up - https://github.com/brady8/thumbs_up   acts_as_commentable - https://github.com/jackdempsey/acts_as_commentable   profanity_filter - https://github.com/intridea/profanity_filter

Page 11: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

6. Form builder & Uploading File

  simple_form - https://github.com/plataformatec/simple_form   formtastic - https://github.com/justinfrench/formtastic   formtastic_datepicker_inputs - https://github.com/demersus/formtastic_datepicker_inputs   tiny_mce - https://github.com/kete/tiny_mce   paperclip - https://github.com/thoughtbot/paperclip   carrierwave - https://github.com/jnicklas/carrierwave

Page 12: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

7. Searching

  meta_seach - https://github.com/ernie/meta_search   meta_where - https://github.com/ernie/meta_where   thinking-sphinx - https://github.com/freelancing-god/thinking-sphinx   acts_at_indexed - https://github.com/dougal/acts_as_indexed

Page 13: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

8. Pagination

  kaminari - https://github.com/amatsuda/kaminari

  kaminari_themes - https://github.com/amatsuda/kaminari_themes

Page 14: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

9. Background work

  delayed_job - https://github.com/collectiveidea/delayed_job

  resque - https://github.com/defunkt/resque

Page 15: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

10. State Machine

  workflow - https://github.com/ryan-allen/workflow

  state_machine - https://github.com/pluginaweek/state_machine

Page 16: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

11. Rack API framework

  grape - https://github.com/intridea/grape

Page 17: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

12. Memcached Client

  memcache-client - https://github.com/mperham/memcache-client

  dalli - https://github.com/mperham/dalli

Page 18: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

13. Admin & Deployment

  pow (webserver) - https://github.com/37signals/pow

  god (monitor) - https://github.com/mojombo/god

  capistrano - https://github.com/capistrano/capistrano

  cap-recipes - https://github.com/nesquena/cap-recipes

Page 19: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

14. Cron job & Backup

  whenever - https://github.com/javan/whenever

  backup - https://github.com/meskyanichi/backup

Page 20: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

15. Testing

  rspec-rails - https://github.com/dchelimsky/rspec-rails   factory_girl_rails - https://github.com/thoughtbot/factory_girl_rails   faker - https://github.com/yyyc514/faker   watchr - https://github.com/mynyml/watchr   autowatchr - https://github.com/viking/autowatchr   database_cleaner - https://github.com/bmabey/database_cleaner   mail_safe - https://github.com/myronmarston/mail_safe

Page 21: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

16. ToolKit

•  ruby-debug (for real context debug) - https://github.com/mark-moseley/ruby-debug •  hirb - https://github.com/cldwalker/hirb •  cheat - https://github.com/defunkt/cheat •  rails-settings - https://github.com/100hz/rails-settings

Page 22: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

Websites That Matters [1]

Page 23: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.

Websites That Matters [11]

1.  http://railscasts.com 2.  http://asciicasts.com

3.  http://rails-bestpractices.com

Page 24: Riding on rails3 with full stack of gems

Copyright 2010, Intridea Inc. All Rights Reserved.