CORE.md (Contract)

This document describes the core architecture of WebholeInk v0.1.x.

Core principles

Runtime flow (high level)

  1. public/index.php defines WEBHOLEINK_ENTRY and loads:
    • app/bootstrap.php
    • app/autoload.php
  2. A Request is created from globals.
  3. Router registers explicit routes.
  4. Router dispatches to a handler.
  5. Handlers return a Response.
  6. Response->send() renders output through the active theme layout.

Core modules

Non-goals for v0.1.x

Stability promise

Within v0.1.x: