Web Oriented Object Framework

User Guide (Version 0.5b4)

Woof!
User Guide (Version 0.5b4)

Locating templates

When the page object needs to locate a template to use as a layout or page section, it locates the template using a search path that allows for sharing and inheritance of templates as well as specialization for a specific controller or action.

When Woof! needs to retrieve a page section with name SECTION for responding to a client request with a URL that is mapped to a controller CONTROLLER and action ACTION, it follows the search procedure below. (When looking for a page layout template, SECTION will be layout.)

The above algorithm is slightly modified in two instances: