zimki | documentation | search
 
Zimki Documentation - misc.urlBindingPrecedence

Zimki applications can answer requests to URL's in a couple of different ways. It can publish files or functions to specific paths, or it can use regular expression matching against the requested path to decide if it should call a bound function.

This happens in a particular order.

  1. Published Files
  2. Path-bound Functions
  3. Regex-bound Functions

Finally it is important to note that if more than one regular expression matches the requested path then the function that was bound first has priority.

Parent

misc