Search KetJS

Search titles, descriptions, and section headings.

    Diagram

    100%
    Drag to pan · Scroll or pinch to zoom · + / − to zoom · Arrow keys to pan · 0 to fit · 1 to reset

    FIND YOUR WAY

    Search KetJS

    Browse guides and examples, or use the search button to find a topic.

    Documentation

    Find KetJS contracts by responsibility, from module composition and request execution to data, rendering and runtime operations.

    docs
    Quick start

    Scaffold, inspect, and run a minimal KetJS application.

    docs
    Directory structure

    Understand the files in a scaffolded application and how modules grow.

    docs
    Configuration

    Configure workspace selection, deployment boundaries and runtime settings.

    docs
    Modules and manifest

    Build composable KetJS modules and understand the immutable manifest derived from a deployment.

    docs
    Workspaces and deployments

    Define immutable KetJS deployments, shared datastores, themes, HTTP roles, and workers.

    docs
    Module discovery

    Resolve selected KetJS modules from filesystem roots without making file presence executable.

    docs
    Request lifecycle

    Follow a request through deployment composition, identity, domain behavior and rendering.

    docs
    Functions and effects

    Define KetJS operations with checked signatures, explicit effects, permissions, dry-run, and idempotency.

    docs
    HTTP routes and responses

    Serve KetJS functions, module routes, dynamic paths, HTML, JSON, binary data, and streamed responses.

    docs
    Form validation

    Share form schemas between server and browser, manage field state, and return structured HTTP 422 errors.

    docs
    HTTP contracts and OpenAPI

    Record transport-neutral HTTP contracts in the KetJS manifest and generate deployment-specific OpenAPI documents.

    docs
    Models and scopes

    Declare KetJS models, field types, indexes, relations, extensions, and row isolation.

    docs
    Migrations and adapters

    Derive schemas, plan safe migrations, use SQLite or PostgreSQL, and migrate tenant fleets.

    docs
    Queries and changesets

    Read and write KetJS data with immutable queries, validated changesets, and transactions.

    docs
    Sessions and tenants

    Configure signed sessions, company and branch scope, permissions, and one-database-per-tenant isolation.

    docs
    Authorization

    Grant operations, enforce declared effects and keep tenant data isolated.

    docs
    Rendering and islands

    Build first-party UI with ketjs-view signals, templates, SSR, hydration, JSX, and interactive islands.

    docs
    Effects and data fetching

    Understand reactive effect execution, async cleanup, SSR data boundaries and race-safe browser requests in ketjs-view.

    docs
    Static sites with ketjs-view

    Scaffold, develop, and deliver plain HTML, CSS, and JavaScript with explicit interactive islands.

    docs
    Themes and KTL

    Build KetJS themes with KTL templates, browser JavaScript, styles, tokens, regions, joints, sections, and islands.

    docs
    Menus and localization

    Compose permission-aware navigation and module-owned translated message catalogues.

    docs
    Reports and PDF

    Declare business-owned reports and render constrained KTL as deterministic PDF documents.

    docs
    Durable jobs and workers

    Declare, enqueue, execute, retry, inspect, and operate KetJS background jobs.

    docs
    Storage, transport, and streams

    Use tenant-namespaced blob storage, bounded uploads, outbound providers, and resumable streams.

    docs
    Operational logging

    Drivers, the event catalogue, redaction, and how KetJS records what a deployment is doing.

    docs
    Testing

    Exercise KetJS applications through real HTTP, isolated datastores, sessions, tenants, and durable workers.

    docs
    Benchmarks

    Compare KetJS database execution, HTTP server and SSR performance with repeatable workloads, exact versions and HTML charts.

    docs
    Deployment

    Build, migrate, release, scale, and operate KetJS HTTP and worker processes safely.

    docs
    Learn KetJS, step by step

    Build a website and a task application while learning ketjs-view, modules, databases, APIs, security, jobs and deployment. Follow one practical path from your first signal to a reviewed application.

    learn
    Choose your route through KetJS

    Understand the packages, set up your tools, and see how the projects in this course fit together.

    learn
    Notes application

    A SQLite-backed application with a module, model, function, migration, and HTTP route.

    examples
    Public API

    Supported KetJS, theme, testing, view, and PostgreSQL package entrypoints.

    docs
    Why KetJS starts with an application contract

    How explicit modules, checked composition and deployment manifests help keep business applications understandable as their features grow.

    blog
    CLI and configuration

    Inspect, build, run, migrate, and configure KetJS applications from the ket command line.

    docs
    Create your first View project

    Scaffold a standalone ketjs-view project, inspect its files, and run a production build.

    learn
    Database correctness before convenience

    Why model scope, exact decimals, validated changesets and explicit transactions matter more than a convenient CRUD wrapper.

    blog
    Static site with islands

    Build plain HTML, CSS, and JavaScript with optional interactive islands and no application server.

    examples
    Tenant isolation is more than a query filter

    Separate tenant databases, company scope, request identity and operation permissions when designing a secure KetJS application.

    blog
    Write a pure TSX page

    Compose markup with functions, typed props, lists and accessible HTML while keeping rendering pure.

    learn
    Build a counter with signals

    Create state once per island, update it through events, and understand why the view returns a function.

    learn
    HTML first, islands where interaction belongs

    Choose static rendering, server rendering and interactive islands deliberately, and keep browser behavior separate from pure ketjs-view templates.

    blog
    Fetching data without losing control of effects

    Understand synchronous reactive tracking, browser lifecycle cleanup, initial SSR data and race-safe requests in ketjs-view islands.

    blog
    Grow the counter into a todo list

    Handle form submission, derive counts, and preserve item identity with keyed lists.

    learn
    Durable jobs without a second source of truth

    How transactional enqueueing, database leases and idempotent handlers keep background work aligned with business data in KetJS.

    blog
    Validate a form with a shared schema

    Cast and validate form values, present useful errors, and retain the server validation boundary.

    learn
    Own browser effects and cleanup

    Attach browser resources after hydration and release them when the island is removed.

    learn
    What a framework benchmark actually tells you

    Read KetJS database, HTTP and SSR comparisons by workload, durability settings and measured boundary instead of treating a chart as a universal ranking.

    blog
    How to evaluate a preview framework without betting your product on it

    A practical KetJS evaluation plan covering a complete workflow, failure tests, deployment boundaries, reproducible upgrades and useful project feedback.

    blog
    Understand effects and reactive dependencies

    Learn when an effect runs, what it tracks, how cleanup works, and why async work needs an explicit owner.

    learn
    Fetch data without render side effects

    Build a searchable list with loading, empty, error and retry states, request cancellation and safe hydration.

    learn
    Publish a small static website

    Build a multi-page website with metadata, native links, assets and explicit islands.

    learn
    Generate pages from content

    Turn a small content collection into static routes and learn when client navigation is worth adding.

    learn
    Start the local backend lab

    Scaffold a real Node application, run the learning CLI, and inspect the completed Todo API reference.

    learn
    Compose a module and inspect its manifest

    Declare one capability with a model and functions, then inspect the checked composition.

    learn
    Understand workspaces and deployment roles

    Select a complete application composition and distinguish HTTP, worker and datastore responsibilities.

    learn
    Model tasks and company scope

    Declare a typed Todo model, inspect the generated schema, and distinguish identity from scope.

    learn
    Read and order data with queries

    Use checked table handles, explicit projections and predictable ordering to build your task list.

    learn
    Validate writes with functions and changesets

    Create tasks through a named operation with checked input, declared effects and controlled writable fields.

    learn
    Keep related writes atomic

    Use one transaction context for business changes and queued work, and design a rollback experiment.

    learn
    Expose the Todo API through HTTP

    Build a bounded JSON facade with method handling, domain calls and useful status codes.

    learn
    Document and inspect API contracts

    Distinguish function signatures from route metadata and keep generated API documentation aligned with deployment.

    learn
    Connect an island to the API

    Manage pending, success and error states around a real request while preserving user input.

    learn
    Separate tenants, companies and sessions

    Understand the identity layers and prove that company-scoped records stay isolated.

    learn
    Grant operations and bound their effects

    Distinguish caller permissions from declared capabilities and test denial at the server boundary.

    learn
    Compose server rendering and themes

    Choose between trusted TSX views and KTL theme presentation while preserving browser lifecycle and server permissions.

    learn
    Build navigation and translated messages

    Keep message keys and permission-aware navigation beside the module that owns their meaning.

    learn
    Run durable background work

    Enqueue work transactionally, run a real worker, and design handlers that tolerate retries.

    learn
    Handle files, outbound services and streams

    Design bounded uploads, tenant-owned storage and resumable delivery without buffering everything into memory.

    learn
    Expose reports and agent capabilities

    Reuse explicit business projections for printable output and machine-readable operations.

    learn
    Test the deployment you actually ship

    Exercise real HTTP, scoped data and workers with isolated deployment fixtures and targeted checkpoints.

    learn
    Evolve the schema and try PostgreSQL

    Plan a schema change, distinguish planning from application, and preserve adapter contracts when changing databases.

    learn
    Observe behavior and measure performance

    Use structured operational records and reproducible measurements to diagnose the application you built.

    learn
    Prepare an evaluation deployment and upgrade

    Build an immutable artifact, separate migrations and process roles, and plan an upgrade while KetJS is in preview.

    learn
    Finish and review your task application

    Combine the course into an application and assess it against concrete frontend, data, security and operations requirements.

    learn
    Engineering with KetJS

    The decisions behind the framework. Notes on architecture, data correctness and building applications that stay understandable as they grow.

    blog
    Start with something real

    Small, focused examples that show how KetJS fits together.

    examples
    Release notes

    The coordinated KetJS 0.2.0 release and its package boundaries.

    docs
    Upgrading KetJS

    Audit compatibility, physical schemas, queries, and tenant sessions before changing a KetJS version.

    docs
    Architecture decisions

    Historical design rationale and trade-offs; current contracts live in the topic guides.

    docs
    Open questions

    Known gaps, unsettled design questions, and weak spots in the current implementation.

    docs
    Contributing

    Work on KetJS with explicit package ownership and focused verification.

    docs
    Publishing packages

    Prepare, verify, and publish a coordinated KetJS release to npm.

    docs