You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alice Zoë Bevan–McGregor edited this page Feb 16, 2023
·
1 revision
TBD / WIP
Dispatch Path
During the process of dispatch a "path" is built of each crumb yielded during the process.
The simplest application would be a root function, whose only path element will be that final endpoint.
An object dispatch application accessing a callable root class (one having a __call__ method) will present two crumbs when accessing the site root:
The root class.
The root instance invoked.
Resource dispatch follows the same pattern for instantiation (one crumb for the class, another crumb for the instance) of collections. If the root were a resource dispatch collection, and you were to access a resource below that collection, the path would consist of: