Skip to content

Architecture

StoneyJackson edited this page Feb 8, 2012 · 6 revisions

Architecture

Components

  • Quilt CGI
  • Quilt dispatcher
  • Quilt processor

Files

  • Quilt configuration
  • Quilt dispatch rules
  • Quilt documents

Process

Quilt is invoked by directing a request through the Quilt CGI. The Quilt CGI is responsible for loading its configuration, loading the dispatch rules, constructing a request object, invoking the quilt dispatcher, and invoking the Quilt processor. The Quilt dispatcher matches the request against the dispatch rules. These rules identify the Quilt document that will handle the request. The Quilt processor loads and evaluates the quilt document, and returns the results to the requesting client.

In the sample URI below, we are requesting the Quilt CGI (quilt.cgi) to load http://a.server.com/path/to/document. (The location and name of the Quilt CGI can be hidden from clients by using URL rewriting mechanism--see BLAH for more information.)

http://a.server.com/cgi-bin/quilt.cgi/path/to/document
Clone this wiki locally