Web Oriented Object Framework

User Guide (Version 0.5b4)

User Guide (Version 0.5b4)

Default URL mapping

By default, Woof! will use the following algorithm to map a URL to a controller and action.

For example, if the application is rooted at /myapp, the URL /myapp/alpha/beta/gamma/delta, will be mapped to the action delta in the controller gamma in the module {alpha beta}. The controller class will be GammaController and be loaded from the file app/controllers/alpha/beta/gamma_controller.tcl in the Woof! directory.

Note this default URL mapping is used only if no custom route matches the URL as described in the next section.