About
Docs
  • Quickstart
  • Build
  • Deploy
  • Structure
  • Expand
  • Reference
  • UI
Updates
Theme
  • Dark

  • Light

  • Docs
  • Quickstart
  • Build
  • Deploy
  • Structure
  • Expand
    • Event Hooks
    • Addons
    • Overrides
    • Custom fields
    • History
    • Registry
    • Concurrency
    • Data Objects
    • Email
  • Reference
  • UI
  1. PhlatPage
  2. Docs
  3. Expand

Expand

Event hooks, addons, overrides, history and the internals: for when you want to change how PhlatPage itself behaves.

Everything in phlat/ is a default your site can replace. Addons add views, routes, fields and services. Event hooks let code observe a request. Overrides replace a shipped file by path. History, the registry, concurrency and data objects are how PhlatPage works underneath.

Event Hooks

Observe app lifecycle events without touching framework code.

Addons

How addons are discovered, loaded, mounted and wired into the app.

7 pages

Overrides

How site templates, routers, and controllers take priority over addon and framework defaults, and how to compose instead of copy.

Custom fields

Extend field definitions and write your own field types.

History

Every page write is an entry in the git log over site/pages/, with Sync to a remote.

Registry

The SQLite index behind find(): query pages by view, published state and content fields, search them, and rebuild when files change outside the CMS.

Concurrency

Locks, what a save merges, the order a save writes in, and how the registry is repaired.

Data Objects

Record, Page, Field, FieldValue, FieldType, DataFile and PageCollection.

Email

Send mail through a configured transport, from raw Latte templates or the mail addon.

PhlatPage

Clone it. Create a file. Ship a page.

Made in Canada
  • Learn

  • Tutorial
  • How it works
  • Build
  • Structure
  • Expand
  • Deploy
  • Reference

  • UI
  • Configuration
  • CLI
  • Upgrading
  • Project

  • Core Ideas
  • Addons
  • Updates
  • Credits
  • License
  • Built with

  • Latte
  • HTMX
  • UnoCSS