Application (api) Class
Application class delegates all of the functionality of your applicaiton to Pages, Views, Controllers and Models.
Table of Contents:
When you are developing your own application you typically would inherit one of Application Classes to make up your own Application object. By default it's located in lib/Frontend.php. This class is instantiated inside your top-most "index.php" file.
In your Application Class you may define more functions which you think should be available from anywhere (such as getCurrentUser()) and perform actions, which you think should always be performed (Such as connecting to DataBase)
Core Class Reference (PHPDoc)
| Class | Description |
|---|---|
| ApiCLI | Minimum API Implementation for Command-Line |
| ApiWeb | Minimum Web Application. Great for integrating into other frameworks. |
| ApiFrontend | Extends Web App with Routing, Layouts and Page Classes |
