Repository navigation
Internals Database Configuration
Bootstrap internals · Database internals · Installation Guide · Developer guide
Source: awt_data/config/awt_db.php. This is a deployment configuration file loaded by bootstrap and required by DatabaseProvider; local values may contain credentials and are deliberately omitted from the wiki.
| Constant | Type written by installer | Purpose |
|---|---|---|
| DB_TYPE | string | Empty string selects uninstalled boot. The command accepts mysql/postgresql/sqlite, with current functional constraints described in the Installation Guide. |
| DB_NAME | string | Database name; used as dbname by the ordinary provider. |
| DB_HOSTNAME | string | Connection host; installer defaults blank input to localhost. |
| DB_USERNAME | string | PDO username; validated as nonblank by installation. |
| DB_PASSWORD | string | PDO password; installer accepts an empty value. |
These global PHP constants are immutable within one process. FrameworkInstallService writes them after schema creation, escaping backslashes, quotes and dollar signs in generated PHP literals. Its connection test reuses the injected PDO in the same process; normal boot in a fresh process reconstructs a DSN from the constants. Installation is refused unless DB_TYPE is exactly empty. There is no automatic environment-variable override.
The exact installer behavior is documented in FrameworkInstallService. No deployment password should be copied into committed documentation.
AWT Framework Wiki · Home · Installation Guide · Developer Guide · Framework Internals
Philosophy · Architecture · Known discrepancies · Verification
Installation Guide
Developer Guide
- Learning sequence
- First package
- Package structure
- Lifecycle
- Runtimes
- Events and objects
- Routing and controllers
- Views and resources
- Database and models
- Storage and caching
- Configuration and CLI
- Responses and errors
- Extension points
Framework Internals
- Architecture
- Bootstrap
- Packages
- Runtime
- Events and context
- Objects
- HTTP routing and controllers
- Rendering
- Blade integration
- Database
- Models
- Storage and caching
- Settings
- CLI
- Identity and sessions
- Responses
- Errors
- Complete source inventory
Documentation notes