Section 6: Extending Mongrel

6.1 Mongrel’s Architecture

6.2 Handlers

6.3 Filters

6.4 Distributing Your Plugins as RubyGems

6.5 Commands

6.6 Handlers as GemPlugins

6.7 Advanced Handlers

6.8 Finding More Plugins

It is surprisingly trivial to extend Mongrel to suit your own needs. You can write your own commands, request handlers, filters, and quickly configure them as needed. Unlike other systems, though, you don’t have to know anything mentioned in this section to use Mongrel. All of this information is “behind the dirty curtain” and only for the very adventurous types who need it.

It’s possible to have your first handler up and running in about ten minutes, and fairly extensive plugins can be written within hours or days. It’s not as nice as ...

Get Mongrel: Serving, Deploying, and Extending Your Ruby Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.