Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1261737
  • 博文数量: 3010
  • 博客积分: 10011
  • 博客等级: 上将
  • 技术积分: 30431
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-27 11:53
文章分类

全部博文(3010)

文章存档

2008年(3010)

我的朋友

分类: LINUX

2008-05-27 13:20:16

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

阅读(198) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~