EuroTcl2026: ADP - The NaviServer Web Anti-Framework
The Method Dispatcher
app/site.adp:
- provides default values for content,
- the
::page::content method dispatcher proc and
- a default rendering proc for each HTTP method, by default:
::page::get- renders the
::page::content variable.
::page::post- returns
405 Method Not Allowed.
- and
set ::page::form [ns_getform].
-
In the page ADP file: we either set the
::page::content variable or override the rendering proc.
-
tpl/site.adp calls ::page::content, the
method dispatcher executing the respective renderer.