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.
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.