Index: openacs-4/packages/acs-core-docs/www/rp-design.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/rp-design.html,v diff -u -N -r1.37.2.1 -r1.37.2.2 --- openacs-4/packages/acs-core-docs/www/rp-design.html 9 Jun 2016 08:44:50 -0000 1.37.2.1 +++ openacs-4/packages/acs-core-docs/www/rp-design.html 23 Jun 2016 08:32:46 -0000 1.37.2.2 @@ -25,10 +25,10 @@ (/var/lib/aolserver/servicename/packages/package_key/www) -- This is the pageroot for the package_key package.

  • request environment (ad_conn) -- This is a global namespace containing variables associated with the current -request.

  • abstract URL -- A URL with no extension that doesn't +request.

  • abstract URL -- A URL with no extension that doesn't directly correspond to a file in the filesystem.

  • abstract file or abstract path -- A URL that has been translated into a file system path (probably by prepending the -appropriate pageroot), but still doesn't have any extension and so does +appropriate pageroot), but still doesn't have any extension and so does not directly correspond to a file in the filesystem.

  • concrete file or concrete path -- A file or path that actually references something in the filesystem.

  • System Overview

    Package Lookup

    One of the first things the request processor must do is to determine which package instance a given request references, and based on this @@ -90,7 +90,7 @@ number of entries in the mapping.

    Request Environment

    The request environment is managed by the procedure ad_conn. Variables can be set and retrieved through use of the ad_conn procedure. The following variables are available for public use. -If the ad_conn procedure doesn't recognize a variable being passed to it +If the ad_conn procedure doesn't recognize a variable being passed to it for a lookup, it tries to get a value using ns_conn. This guarantees that ad_conn subsumes the functionality of ns_conn.

    Request processor
    [ad_conn urlv] A list containing each element of the URL
    [ad_conn url] The URL associated with the request.
    [ad_conn query] The portion of the URL from the ? on (i.e. GET variables) associated with the request.
    [ad_conn file] The filepath including filename of the file being served
    [ad_conn request] The number of requests since the server was last started
    [ad_conn start_clicks] The system time when the RP starts handling the request
    Session System Variables: set in