Index
Loading Process
The system's functionality is operated from the main page. For the public page, this may change, but the process is very similar, with the following loading routine.
- Set the global constant DEBUG to 0
This instruction can be moved according to debugging needs.
- Loading general-purpose libraries
- Loading the debug library
Used to display status messages as HTML if the previous variable is enabled.
- Loading the dataxchg library
Used for data exchange.
- Loading the crypt library
Used to generate IDs and encrypted data.
- Loading the debug library
- Loads the corresponding navigate navigation object and other objects.
This provides navigation utilities for siteup, retrieves business rules, and lists files specific to the module.
- Establishes communication with the database via database
Used to establish communication with the database
- Retrieves system values via enviroment
Identifies environment variables, as well as system default values.
- If the user is signed in, retrieves their data via userdata
If the user is signed in via cookies, identifies the services and subservices assigned to them, as well as the privileges over them.
- Establishes communication with the database via database
- Loads libraries
Loads additional general libraries first, then specific ones. if the module so indicates.
- Loads language catalogs and dictionaries
Depending on the language being used, loads the corresponding messages and dictionaries.
- Loads page information, as well as stylesheets css and primary loading scripts jsh
As with libraries, it starts by loading those for general use and then continues with those specific to a module if so indicated.
- Display content
That is, display the corresponding information requested within the body of the page.
- Collect messages msg and error codes err
At the bottom, it lists possible error messages during the execution of a command or additional information that you want to display.
- Loading secondary load scripts
At the bottom, it loads the general-purpose scripts followed by those specific to the module.