MVC::Keayl¶
The latest version of this documentation lives at https://docs.keayl.dev/.
The homepage for MVC::Keayl is https://github.com/gdonald/MVC-Keayl.
Synopsis¶
MVC::Keayl is a Model-View-Controller web framework for Raku.
It is the web layer only. The model layer is delegated to ORM::ActiveRecord and default view rendering to Template::HAML; both are pluggable. The HTTP server is reached through an abstract adapter, with the default adapter built on Cro.
Pages¶
- Request: the incoming HTTP request wrapper.
- Response: the outgoing HTTP response builder.
- Middleware: the Rack-like middleware stack and endpoint protocol.
- Server adapters: the abstract adapter contract, plus the Cro and in-memory test adapters.
- Routing: the routes file DSL and request recognition.
- Controllers: the base controller, per-request state, and action dispatch.
- Views: template resolution, handlers, and caching.
- View helpers: URL, asset, and tag-building helpers.
- Cookies: the cookie jar with signed and encrypted variants.
- Sessions: the session abstraction with cookie and server-side stores.
- Flash: short messages that survive one redirect.
- CSRF protection: authenticity tokens and forgery protection.
- Parameter filtering: redacting sensitive parameters for logs.
- Transport & host security: SSL, host authorization, and secure headers.
- Secrets: secret resolution and key derivation.
- Content negotiation: MIME types,
respond-to, and API controllers. - Caching & streaming: conditional GET, cache headers, fragment caching, and streaming.
- Application & configuration: the application object, config, boot, and dispatch.