Flylib.com

Books Software

 
 
 

Mongrel: Serving, Deploying, and Extending Your Ruby Applications


book cover
Mongrel: Serving, Deploying, and Extending Your Ruby Applications
By Matt Pelletier, Zed Shaw
...............................................
Publisher: Addison Wesley Professional
Pub Date: October 18, 2006
Print ISBN-10: 0-321-48350-2
Print ISBN-13: 978-0-321-48350-8
Pages: 106
 

Table of Contents
overview

This short cut is an introduction and guide to Mongrel, a fast, versatile RubyWeb server. If you build or manage Web applications, this will be a usefulreference as you set up and use Mongrel in your development and productionenvironments, as well as a handbook for how you can extend Mongrel to suityour own needs.

In addition to covering how to use and extend Mongrel, we also review anumber of topics that we consider "Best Practices" for modern software development,deployment, and performance testing. We discuss these in thecontext of using Mongrel, but they should be considered applicable to anysoftware project. Our own work has always benefited from seeing the techniquesof others, so we hope that sharing the experience, approach, andphilosophy that went into designing and developing Mongrel will be interestingand helpful for your own pursuits.

Section 1: What This Short Cut Covers 4

Section 2: Introduction 6

Section 3: Getting Started 13

Section 4: Configurations 20

Section 5: Production Deployment 37

Section 6: Extending Mongrel 60

Section 7: Debugging 79

Section 8: Performance 90

Section 9: Security 96

Resources 103

Acknowledgments 105

About the Authors 106



book cover
Mongrel: Serving, Deploying, and Extending Your Ruby Applications
By Matt Pelletier, Zed Shaw
...............................................
Publisher: Addison Wesley Professional
Pub Date: October 18, 2006
Print ISBN-10: 0-321-48350-2
Print ISBN-13: 978-0-321-48350-8
Pages: 106
 

Table of Contents

    Copyright
    Section 1.  What This Short Cut Covers
      Section 1.1.  The Format of This Short Cut
      Section 1.2.  Zed Sez
    Section 2.  Introduction
      Section 2.1.  What Is Mongrel?
      Section 2.2.  How Does Mongrel Work?
      Section 2.3.  What Can Mongrel Do for Me?
    Section 3.  Getting Started
      Section 3.1.  Installing Mongrel
      Section 3.2.  Using Mongrel
      Section 3.3.  Supported Platforms
      Section 3.4.  Supported Frameworks
    Section 4.  Configurations
      Section 4.1.  Configuring Mongrel
      Section 4.2.  Common Configurations
      Section 4.3.  Hit the Ground Running: Example Configurations
    Section 5.  Production Deployment
      Section 5.1.  Requirements
      Section 5.2.  (Too) Many Options
      Section 5.3.  "Fake" Hardware Layout
      Section 5.4.  Software Deployment
      Section 5.5.  Configuration
      Section 5.6.  Care and Feeding
    Section 6.  Extending Mongrel
      Section 6.1.  Mongrel's Architecture
      Section 6.2.  Handlers
      Section 6.3.  Filters
      Section 6.4.  Distributing Your Plugins as RubyGems
      Section 6.5.  Commands
      Section 6.6.  Handlers as GemPlugins
      Section 6.7.  Advanced Handlers
      Section 6.8.  Finding More Plugins
    Section 7.  Debugging
      Section 7.1.  Available Tools
      Section 7.2.  Common Scenarios
      Section 7.3.  Other Tools
      Section 7.4.  Reporting Mongrel Bugs
    Section 8.  Performance
      Section 8.1.  A Simple Process for Tuning Your First Deployment
    Section 9.  Security
      Section 9.1.  Mongrel's Security Design
    Resources
    Acknowledgments
    About the Authors