Baldrick::Dogsbody

From CunningPlans

Jump to: navigation, search

Baldrick::Dogsbody is the base class for request handlers. Authors of Baldrick Modules (applications) should create classes that inherit from Baldrick::Dogsbody, and register these classes in the config file's Module sections and PathMap.

A Dogsbody, or request handler, is created to service one user request (page load), and destroyed immediately after. It holds references to all of the objects that are useful in responding to a request - the request object, session object, user object, etc. The Dogsbody is the "controller" in the MVC model.

[edit] Interface

[edit] History

Personal tools