Repository navigation
Documentation Discrepancies
Stefan Crkvenjakov edited this page Oct 7, 2026
·
1 revision
Home · Verification · Internals source inventory
These findings describe the inspected source, rather than modifying it. Code is authoritative when comments/README disagree.
| Area | Source truth and documentation consequence |
|---|---|
| PHP requirement | README says 8.x; readonly classes require at least PHP 8.2. No tested OS/PHP matrix ships. |
| Installer name/UI | InstallCommand exists; CLIInstallCommand and a browser installer do not. Uninstalled HTTP tells users to run the CLI. Seven arguments precede optional prompts. |
| Database choices | Install validation/tests accept mysql/postgresql/sqlite, but normal provider builds a generic type:host/dbname DSN and schema uses MySQL/InnoDB SQL. Only the MySQL walkthrough is presented as a coherent current path. |
| CMS | No separate AWT CMS implementation/distribution is present. Optional admin creation makes a record, not an installed CMS/dashboard application. |
| CLI bootstrap | Domain helper expects HTTP_HOST in CLI; package command registrations are lost when final handler replaces the injected handler. The first installer session must be restarted for fully installed boot. |
| clear | Clears terminal output; it is not a cache-maintenance command. No migration/reset/cache-clear CLI is implemented. |
| Runtime flags | UseShared/AccessOtherInstances/EventDispatcher/WaitForPackage/CommandProvider are descriptive rather than access gates. Legacy enum comments refer to RuntimeHandler and $this->shared; neither is the current package API. |
| Dependency execution | Graph scheduling/cycle checks replace retry-based startup. PACKAGE_MAX_LOAD_TRY remains but is unused. Only exact/wildcard/AND comparison versions are supported; dependencies are not auto-downloaded. |
| Package types | getInfo labels 0/1/2 as System/Plugin/Theme; execution treats any nonzero supported type identically. Type 0 installation still requires main.php. |
| Update | No version-increase requirement, atomic rollback, guaranteed stale-file removal or hot reload. |
| Manifest author/store_id | Author is optional in JSON validation but required by installation schema. store_id accessors/persistence filtering exist without a created core column. |
| Package/example availability | Branislav10 exists locally but awt_packages is ignored except its tracked placeholder. A fresh clone does not contain that local example application. Wiki examples reproduce reusable structure with new names. |
| Middleware | Route execution ignores handle() return; storage authorization denies explicit false. There is one route middleware slot, not a next-callback chain. |
| Events | Exact names are router.enter and renderer.ready, rather than plausible route.enter/render.ready names. No automatic runtime-stage events are dispatched. |
| Shared state | Registries are request/process state, not persistence. RuntimeAPI provides methods, not a public shared array. Controller/Router shared fields are not auto-populated. |
| ObjectCollection | setPropertyAccessor accepts callable but stores it in ?string; Closure fails. Unsorted find uses an index, sorted find requires matching sort ordering. |
| ORM docs | saveModel returns int/null despite a bool description. save writes the allowed attribute set, not only dirty values. No generic Eloquent-style relation/validation API is supplied. |
| Schema wizard | MySQL-specific DDL and registry-based existence. renameTable recreates registry state and can lose column metadata. Early/exceptional creates can retain queued columns despite comments. |
| Settings | Value metadata does not guarantee casts/access checks. Hyphen normalization differs between Config and SettingModel; constant-definition guard uses the unprefixed name. |
| Sessions | Named SessionHandler() is explicit, not a constructor or SessionHandlerInterface. Source promises IP binding that is absent. Regeneration uses a 10-second comparison; expiry handling is not a general configurable session backend. |
| Admin credentials | Supplied password hashing uses unsalted SHA-512; not password_hash/password_verify. Token/session assumptions need application checks. |
| Assets | Root .htaccess bypasses legacy paths; use public document root and public/.htaccess. @data points to legacy media paths rather than current storage; @resource/@asset and registered storage are preferred. |
| Rendering | View initially includes PHP then compiles it, so template side effects can repeat. Throwable is caught/printed, returning an empty string. No uniform central response for every failure. |
| Storage | Only PACKAGE has a default owner strategy; USER/SYSTEM need implementations. UploadMany is not atomic; no automatic MIME/quota validation. |
| Development upload | bootstrap/dev.php exists but boot includes it only if DEV is defined; supplied config does not define DEV. Keep remote installation disabled. |
| Planned features | README's async server, request-informed runtime and WebSockets are future claims, not present APIs. “Migration system” currently means schema helpers/package hooks, without a versioned migration runner. |
The source excerpts intentionally retain original docblocks where useful for provenance; use this page and the behavior trace when their prose disagrees with statements. The documentation makes no percentage-replaceability or performance guarantees from README marketing claims.
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