Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this work, and the publisher was aware of a trademark claim, the designations appear with initial capital
The authors and publisher have taken care in the preparation of this work, but make no
Visit us on the Web: www.awprofessional.com
All rights reserved. This publication is protected by copyright, and permission must obtained from the publisher prior to any
Copyright 2007 Pearson Education, Inc.
This product is
For information regarding permissions, write to:
First release, October 2006
Section 1. What This Short Cut Covers
This short cut is an introduction and guide to Mongrel, a fast, versatile Ruby Web server. If you build or manage Web applications, this will be a useful reference as you set up and use Mongrel in your development and production environments, as well as a handbook for how you can extend Mongrel to suit your own needs.
In addition to covering how to use and extend Mongrel, we also review a number of topics that we consider "Best Practices" for modern software development, deployment, and performance testing. We discuss these in the context of using Mongrel, but they should be
1.1. The Format of This Short Cut
This short cut uses the common formatting conventions to represent code, filenames, and so on. If you have never read a book on software before, the following description will
Indented blocks of code or shell commands will appear in a fixed-width font:
uri '/', :handler => DirHandler.new('/var/www/opinions/')
A reference to a file, function, or class within a sentencelike HttpHandler , mongrel.log , or some_function(param) will be in italics.