Skip to content

Developer Guide Extension Points

Stefan Crkvenjakov edited this page Oct 7, 2026 · 1 revision

Extension points and complete-package checklist

Developer Guide

Internals: Architecture, HTTP, Database, Storage, Runtime.

Most major systems have collaborator interfaces and constructor injection. Replace one responsibility at a time, preserving the public contract and ordering constraints documented in its reference.

System Supported seams
Runtime IRuntime, creator/loader/executor/orchestrator/flag-handler contracts; API capability interfaces.
Package metadata IPackageRepository and IPackageService; manifest reader/service contracts.
Installer Extractor, mover, storage-tree generator, manifest/structure preparers, version comparison and post hooks.
Cleanup IPackageCleanup steps supplied to PackageUninstaller.
Routing IRequestProvider/IRequest, IMethodPolicy, IPathMatcher, IRouteResolver, IRouteExecutor, IRouteResponseFactory and IRouteFactory.
CSRF ICsrfTokenStore, ICsrfTokenManager and ICsrfValidator.
Database IProvider/ITransactionalProvider, ICache, query builder, schema provider/registry.
Storage IStorageRepository, IStorageManager, IFileSystemService and IOwnerStorageStrategy.
Output SenderInterface, SenderRegistry and response configuration.

Constructing a custom manager does not automatically replace the bootstrap global manager. Integrate the replacement through an explicit package/startup seam or a deliberately maintained bootstrap change. Event dispatcher replacement is captured by RuntimeExecutor, but replacing it can lose already-registered listeners; preserve the required routing/context handlers.

A complete application package typically needs a validated manifest, a uniquely namespaced runtime entry, ordered controller/router initialization, real views/assets, package-owned schema/hooks, input validation, authorization and CSRF handling, dependency constraints, and a tested ZIP install/update path. Keep application secrets/configuration outside public resources. Decide which settings and file records are owned by the package so removal behavior is predictable.

The exhaustive source inventory is the backstop for less common APIs. Empty classes/interfaces are documented as they exist, rather than turned into invented features. The current framework does not supply Composer-style dependency solving, automatic remote dependencies, background jobs, WebSockets, a root migration CLI, an automatic CMS distribution or a general dependency-injection container. Consult discrepancies before relying on README feature claims.

Clone this wiki locally