十大Rails Plugin推荐

http://hosting.media72.co.uk/blog/2007/12/09/10-ruby-on-rails-plugins-you-should-be-using/

10 Ruby On Rails Plugins You Should Be Using

One of Ruby on Rails strengths is how easy it is to extend with Ruby Gems and plugins, becuase you don’t have to code everything yourself you can save a lot of time. One problem facing Rails codes is knowing what plugins are out there and how to use them. The following is a list of 10 plugins that should make your coding life much easier and save you a fair bit of time.

   1. attachment_fu - Anyone dealing with file uploads, especially images, should take a look at this plugin, it’s a replacement for acts_as_attachment. The plugin is easily configurable and supports storing uploaded files in the file system, database, or on Amazons S3 service. It also supports 3 image manipulation libraries for resizing and altering your uploaded images, Image Science, Mini Magick, and Rmagick.
   2. acts_as_taggable_on_steroids - Tag clouds are not particularly easy to code when you are first starting out. This plugin handles all of the heavy lifting for you including adding and removing tags and even tag cloud calculations.
   3. minus_r - If you are not keen on the prototype javascript library and want to use alternative libraries without replacing the default rails javascript helpers or want to write real javascript in your rjs templates this plugin is for you.
   4. acts_as_ferret - Powerful search plugin that fuilds on the ferret gem for enabling full text searching in your applications. Ferret is a port of Apache’s Lucene and enables fast powerful searches with very little code.
   5. white_list - Is essential for any site that allows users to input html to be displayed, this plugin lets you filter out bad HTML tags and attributes to strip out unwanted code and reduce the risk of XSS attacks.
   6. acts_as_ordered - This plugin provides an easy way to find a records neighbours, great if you want to provide previous and next buttons on your site.
   7. BlueCloth/RedCloth - These two are actually gems and convert markdown and textile syntax into HTML markup.
   8. Rspec - All the cool kids are using it these days, why not jump on the fashion bandwagon too? Seriously though, Rspec is a way of specifying how your application “should” behave and then testing it actually “does” what it should.
   9. autotest - This makes testing a breeze, it keeps track of which files you are working on and automatically runs the tests for the file when you save them. When you hook this into growl you can get popup notifications that tell you if your tests passed or failed. Now you can concentrate on coding and forget about remembering to run your tests, works with Rspec and rails built in unit test.
  10. restful_authentication - This replacement for act_as_authenticated offers easy site authentication in a box.
  11. acts_as_rateable - OK we lied, this is the 11th plugin lets call this one a freebie. Add a ratings system to any model, very simple to use neat little plugin.

We hope you found this list useful, try them out and let us know what you think of them. Of course all of the plugins are fully compatible with our Ruby on Rails hosting packages.

Share and Enjoy:

另外,此网站发现不少感兴趣的文章:
    *  Howto: Write a plug-in
    * Learning Ruby on Rails Fundamentals Without Reading
    * 6 things to try in Rails this year
    * Flexible Fixtures in Rails 2
    * 10 Ruby On Rails Plugins You Should Be Using
    * Upgrading to Rails 2.0 how to
    * Rails 2.0 causing startup errors for some customers
    * Ruby on Rails 2.0 released and installed on all servers
    * Domain Registration Site Back Up
    * Domain Registration Site Down
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值