Repository navigation
Philosophy
Home · Developer Guide · Framework Internals
AWT follows a simple idea: build your application from packages, while keeping application code separate from the framework core.
The framework provides common tools for routing requests, rendering pages, accessing databases and managing files. Packages use those tools to give an application its features.
A package brings related behavior together. It can contain its own routes, controllers, views, services and database definitions.
For example, a website might have separate packages for a product catalogue, customer enquiries and an administration dashboard. Each package has a clear responsibility, making it easier to understand where a feature belongs and how it connects to the rest of the application.
Packages do not have to be small. A complete application can live in one package, with smaller runtime components organizing its startup.
The framework's role is to coordinate the application and provide reusable services. Your application's rules and content belong in its packages.
The goal is to add or change features through package code whenever the existing APIs support it. This keeps application-specific changes away from the shared foundation and makes packages easier to reuse across projects.
Packages declare their dependencies so the framework can check compatibility and run required packages first. Within a package, runtimes prepare services, register controllers and routes, or connect other runtime components.
Packages can also cooperate through events and shared objects. An event announces something that happened; a shared object makes a service or value available to other components. These mechanisms help packages work together without putting all their behavior into one place.
Routes connect URLs to controller actions. Controllers handle requests, views present information, and models or repositories work with stored data. Runtimes organize startup rather than handling every request themselves.
These boundaries are useful because each part has a job that can be understood and changed on its own. They are a guide to organizing your application, not a requirement to create a separate package for every class.
AWT Framework provides the foundation for both standalone applications and an AWT CMS. CMS features belong at the application and package level; installing the framework alone does not install a complete CMS.
Start with the first-package tutorial to see these ideas in practice. The runtime guide explains how components connect, and events and objects covers cooperation between packages.
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