Ferreteria/v0.6/clade/App/@fx/GoCore

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | clade‎ | App
Revision as of 03:12, 19 November 2025 by Woozle (talk | contribs) (Created page with "{{page/fx}} ==About== * '''Purpose''': main execution sequence -- can either be wrapped in try{}catch{} syntax or called directly, depending on debugging needs * '''Calls''': ** <code>$this->{{l/ver/fx|ReadAppConfig}}(); </code>// read the app's configuration ** <code>$this->{{l/ver/fx|ShowAppConfig}}(); </code>// display the app's configuration (name, version...) ** <code>$this->{{l/ver/fx|ReadUserCommand}}(); </code>// decode/digest any user request (input) d...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

  • Purpose: main execution sequence -- can either be wrapped in try{}catch{} syntax or called directly, depending on debugging needs
  • Calls:
    • $this->ReadAppConfig(); // read the app's configuration
    • $this->ShowAppConfig(); // display the app's configuration (name, version...)
    • $this->ReadUserCommand(); // decode/digest any user request (input) data
    • $this->DescribeActions(); // show the UI (this is where the header is displayed - program name/version etc.)
    • $this->ExecuteActions(); // do the actions

Code

as of 2025-11-18:

#
    protected function GoCore() {
        $this->ReadAppConfig();     // read the app's configuration
        $this->ShowAppConfig();     // display the app's configuration (name, version...)
        $this->ReadUserCommand();   // decode/digest any user request (input) data
        $this->DescribeActions();   // show the UI (this is where the header is displayed - program name/version etc.)
        $this->ExecuteActions();    // do the actions
    }