6. Resource Manager - Macro Editor

A Macro Resource is a mechanism for servicing a HTTP request, usually from a browser.
It takes the following parameters:

  • Resource Name: the internal name of the resource.
  • Resource Information: optional - details.
  • Macro URI: the filename component of the request URL.
  • Redirect URI: optional - the filename component of the redirect URL.
  • Installed Codes: list of Code Resources that will be compiled by the Macro.
  • Available Codes: list of Code Resources available to be added to the Macro.
  • Parameter List: list of CGI request parameters to be processed by the Macro.
A Macro responds to a HTTP request by executing its Installed Codes list and returning the result to the browser. If the request includes CGI parameters they must be specified in the Parameter List so that they can be passed to the Macro. Type conversion can be performed by setting the parameter types.