EuroTcl2026: ADP - The NaviServer Web Anti-Framework

The Method Dispatcher

  1. 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].
  2. In the page ADP file: we either set the ::page::content variable or override the rendering proc.
  3. tpl/site.adp calls ::page::content, the method dispatcher executing the respective renderer.