|
|
Executable Statements
A .icod file processing http requests consists of
variable declarations and executable statements. Statements can be
grouped in:
|
Assignments |
store the result of an
expression in a variable. Container variables
use indexing or other special syntax to access individual
items. A number of
conversions can be made to translate from the expression result
data type to the assigned variable data type. There are situations when
the value of a variable must first be modified in a specific
way before processing it. This is done by applying a
modifier after the variable. A set of built-in
functions can be used in expressions. |
|
Resource access |
statements determine how connections to resources are acquired and
released, and associated resource transactions logic. Two built-in
functions, FETCH and EXEC can be used to obtain
result sets from external data providers. Caching can be finely
tuned, based on dependencies
masks. |
|
Special operations |
statements deal with dynamic page compilations or composition,
sorting, security checks, and cached global data access. |
|
Flow control |
statements deal with
conditionals,
loops,
error handling, and calling
external functions. They are concisely presented in the
next section. |
Resource connectors and external functions provide an
extensibilty feature, allowing to use custom developed C or C++ modules.
|
|