Book description
One of the most powerful aspects of the Rails framework is the ability to extend and override it within your own applications. This is achieved through the Rails plugin mechanism, which provides an avenue for Rails developers to add powerful new features to their applications and share this functionality with the worldwide community.
This short cut introduces Rails plugins and considers each aspect of their behavior and development. You'll learn what plugins are, how they work, and why they're useful. Discover how to find and install plugins using the provided script, then explore the world of plugin development, including common plugin idioms, testing, and version control. Finally, learn how to share your own plugins.
What This Short Cut Covers 4
Section 1: Introduction 5
Section 2: Installing Plugins 14
Section 3: Saluton, Mondo! (init rb) 33
Section 4: Sharing Code (lib) 39
Section 5: The Rest (README, install rb, Rakefile, tasks, and More) 51
Section 6: Plugin Development 62
Section 7: Sharing Classes and Code 83
Section 8: Testing Plugins 100
Section 9: Sharing Your Plugin 113
Section 10: Conclusions 121
About the Author 123
Table of contents
- Copyright
- What This Short Cut Covers
- 1. Introduction
- 2. Installing Plugins
- 3. Saluton, Mondo! (init.rb)
- 4. Sharing Code (lib)
- 5. The Rest (README, install.rb, Rakefile, tasks, and More)
- 6. Plugin Development
- 7. Sharing Classes and Code
- 8. Testing Plugins
- 9. Sharing Your Plugin
- 10. Conclusions
- About the Author
Product information
- Title: Rails Plugins: Extending Rails Beyond the Core
- Author(s):
- Release date: September 2006
- Publisher(s): Addison-Wesley Professional
- ISBN: None
You might also like
book
Rails 4 in Action
GET MORE WITH MANNING An eBook copy of the previous edition, Rails 3 in Action, is …
book
Learn Rails 5.2: Accelerated Web Development with Ruby on Rails
Learn to build Rails-based web applications using all the latest features offered in Rails 5.2. Author …
book
Rails Refactoring to Resources: Using CRUD and REST in Your Rails Application
Since David Heinemeier Hansson’s keynote speech at RailsConf 2006 and the release of Rails 1.2 in …
book
Rails™ AntiPatterns: Best Practice Ruby on Rails™ Refactoring
The Complete Guide to Avoiding and Fixing Common Rails 3 Code and Design Problems identifies these …