Web Oriented Object Framework

User Guide (Version 0.5b4)

User Guide (Version 0.5b4)

Default page layout

When Woof! is installed, it installs a file app/controllers/views/_layout.wtf that contains a page layout. Furthermore, it copies this file to app/controllers/views/layout.wtf which makes it the default page layout for all controllers that do not themselves specialize the layout as described in Page layout.

An application may of course replace this default layout in app/controllers/views/layout.wtf with its own version. However, the default layout described here provides sufficient flexibility for many applications.

The default Woof! page layout divides a Web page into five page sections:

Section content may be generated either through template files or directly created by application code and is described in the Page sections chapter.

You can tailor several aspects of the default layout for your web site or application. These include

These are discussed next.