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
Rails 5 Test Prescriptions
Does your Rails code suffer from bloat, brittleness, or inaccuracy? Cure these problems with the regular …
book
RailsSpace: Building a Social Networking Website with Ruby on Rails™
Ruby on Rails is fast displacing PHP, ASP, and J2EE as the development framework of choice …
book
Learning Rails 5
If you’re a web developer or designer ready to learn Ruby on Rails, this hands-on guide …