Documentation

Layer Interaction

The layer interaction system is explained in this diagram.

Accessing the Database

In addition to the information for each of the services and subservices, the database contains information related to the system configuration, administrators, and users. Access is achieved through the db object, which allows for the corresponding queries.

Acquiring Environment Data

Information about the system is complemented by the env object, which collects information from the system where it is installed, such as directory, sent parameters, cookie recovery, and similar.

Identifying the User

The next step is to identify the user; this can be the system administrator, a user, or an anonymous user, that is, one without identification, thus knowing their permissions and which modules and actions they are allowed to perform. This is done using the usr object.

Organizing Information

Based on the query and their user characteristics, the requested information is generated, which is delivered as a collection of data using the nav object. Likewise, other data is generated that is used to navigate through the content to be presented.

Presenting Data

The information generated in the previous step is then processed for display on the screen. It is at this point that the functions grouped in the view file generate the HTML/PHP code for display on the screen, which will later be modified either by the corresponding css or the routines executed by jquery.

This is the case for queries; in the case of information processing, it is explained in the next section.

Search