Index
File loading sequence in index
This is a general overview of what elements are loaded on the index page, where the main action occurs.
Pre header
- Debug flag creation and initialization
- Loading autonomous libraries (debug, dataxchg, crypt)
- Loading system libraries (database, environment, userdata, navigate, look)
- Loading additional system libraries (siteup/lib)
- Loading module-specific libraries (modulename/lib)
- Interface language identification
- Universal dictionary loading (lang/lang_univ)
- Message system load (lang/msgs_lang)
Header
- Page information (title, keywords, description, socialmedia, ...)
- Authorship, copyright, license
- Favicons (img/icons) and responsive css (css/siteup)
- General CSS (css)
- Css particular to module (modulename/css)
- Creation of language js constant and variable of language dictionaries type label
- Loading idiomatic dictionary (lang/lang_xx)
- Loading general pre-content js scripts (chart, validate, jquery)
- Load module pre-content js scripts (modulename/lang, modulename/js)
- Meta indications for robots
Content (body)
- Signed user validation (administrative panel)
- Unsigned. Login form (or password recovery).
- Signed. Displays header, creates navigation column, and loads corresponding module page.
- Creates error list (used when returning from executing an operation)
- Displays notifications (messages) if necessary
- Displays authorship, copyright, and license information
- Loads general late-JS scripts (js/global_rules)
- Loads late-JS scripts for the module (modulename/js)
Each of these is described in more detail below.