Application
An application publishes a site (static files, Worker code, or both) to the platform and gives it a reachable address. Every publish creates a version, and a deployed version becomes the live one.
When to use it
Publishes a website with its backend as a live app.
Use it when
- A working site: pages, login, data, a shop, an internal tool.
Not for, use instead
- A mock-up →
canvas - Orchestration →
automation
How it behaves
- Next.js on Workers;
praxis.application.publish({ name, dir }), never wrangler.
Combines with
- Customer signs its visitors in.
Entry: praxis.application.* · docs developers/application/index
Where to store data
The Praxis Application Model splits data in two:
-
Business data (orders, customers, collected records: facts that survive a change of implementation) goes to the system of record: Database for structured data, File for files, Knowledge for searchable knowledge, Media for images and video. The application reads and writes it through public APIs.
-
Application state (sessions, cursors, locks, caches: data that exists only because of how the application is built) goes in the application’s own
d1,kvorr2bindings. -
Business processes belong in Automation workflows and scripts, not in application code.
-
The Praxis Application Model: four parts, two classes of data and five principles.
-
Publish an application with the CLI:
praxis app create,publishandrollback. -
Runtime capabilities: what an application can and cannot do, and its limits.
-
Prove which version is live: confirm which version an application serves right now.