问题
Are there any resources or documentation for developing Rails plugins?
I'm using other plugins as examples, but it's hard to know if I'm doing something wrong, or if there's another way to do something. All I can find are old blog posts. I haven't found any documentation on how to develop plugins and what functionality/hooks are available.
回答1:
Check this very good list:
- HOWTO: Make A Rails Plugin From Scratch
- Rails Plugin Tutorial
- Demystifying Rails Plugin Development
- How to write a Rails Plugin (for controllers)
- The Basics of Creating Rails Plugins
- Build Your Own Rails Plugin Platform with Desert
- Extending Rails: Understanding and Building Plugins
- Screencast: How to develop Plugins in Rails - The Basics(View all the other 4 parts)
Also, to improve your knowleadge, I'm going to suggest some resources to learn about Gem development:
- Creating Your Own Gem
- Creating a gem under Ruby
- Creating a RubyGem Package
In this tutorials and How-Tos, you will learn very good(and much) about this very nice and useful world ;)
来源:https://stackoverflow.com/questions/1814136/rails-plugin-development-documentation-and-resources