Ferreteria/v0.5/startup

From Woozle Writes Code
< Ferreteria‎ | v0.5
Revision as of 14:21, 17 June 2022 by Woozle (talk | contribs) (Created page with "{{fmt/title|Ferreteria startup process}} This is the chain of events that takes place, in a typical application based on caAppUser ("the App object" or just "App"), when the s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Ferreteria startup process

This is the chain of events that takes place, in a typical application based on caAppUser ("the App object" or just "App"), when the site is invoked (i.e. a page is requested, possibly just the front page or possibly something more specific).

Assuming there are no initialization problems, App calls its Main() function. This then opens the database; if successful, it then calls its GetPageObject() method to get the Page object to use for rendering. The class to used is determined by the Ferreteria deployment's configuration, and is not (at least by default) affected by the URI data.

It then calls the Page object's DoBuilding(), DoFiguring(), and DoOutput() methods.

documentation in progress