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

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | clade‎ | App
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
    }