F+Foldkit Plus
HomeLearnPackagesComponentsPrimitivesDemosBlogGitHub ↗

Learn

Guides

Quickstart

  • Overview
  • Declare what one feature reads and sends
  • Pick your next step by what you are building

Who changes state

  • Overview
  • Messages carry intent, not results worked out from the last frame
  • The two write paths
  • What a reader sees while a change is in flight
  • Semantic state is not runtime work
  • Presentation state is not a fact

Events, folds and gates

  • Overview
  • Fold Messages into state
  • Decide locally, store the fact
  • Where state lives, and what checks it
  • Add a server gate to a fold
  • Message allowlists, authorization rules, and laws
  • One Message is both request and fact

From declarations to the screen

  • Overview
  • How one declaration crosses boundaries
  • Declare a field and a query
  • Declare a write
  • From a changed field to a query
  • From a Selection to a drawing
  • What is derived, and what remains explicit

Wiring

  • Overview
  • A first assembly: two mirrors, one list
  • What a Wiring brings and who provides one
  • How the assembly routes Messages and builds the runtime config
  • Why use an assembly instead of hand-wiring?
  • Wiring vs. Surface, Projection, and Bundles

Errors and failures

  • Overview
  • A first example: a read that fails
  • How failures reach the screen vs. your logs
  • Who owns each failure
  • Read failures
  • Write failures and typed refusals
  • Forms
  • Server responses and error hiding
  • Sync failures and rejected edits
  • Signed out
  • Diagnostics
  • Testing failures

Keep a list up to date

  • Overview
  • Example

Define an operation and check its laws

  • Overview
  • Example
  • Give a checked function an operation name

Hold a rule to a store

  • Overview
  • Example

Write your own language, store or protocol

  • Overview
  • Bundle custom operations into a Language
  • Check a custom store adapter

Upgrading across the MetaKit unification

  • Overview
  • 2. foldkit-entity: Law.*, Operators.implement, and Evidence.Proven removed

Upgrading to 0.41

  • Overview
  • foldkit-mixins-ui: the widgets
  • foldkit-mixins: styles and themes
  • foldkit-entity and foldkit-guard: the domain
  • Servers: what a failure tells its caller
  • foldkit-primitives, foldkit-crud, foldkit-data-grid

Glossary

  • Overview
  • Foldkit basics
  • Feature boundaries (foldkit-surface)
  • Reusable submodels (foldkit-bundle)
  • Domain rules and permissions (foldkit-entity & foldkit-guard)
  • Server data (foldkit-remote)
  • Routing, sync, mirrors, and agents
  • Views and interaction (foldkit-mixins & foldkit-primitives)

Open source, MIT
Foldkit 0.170 · Effect 4

Learn / Glossary

Glossary

Plain-English definitions for the words used across Foldkit and Foldkit Plus, grouped by area.

Previousfoldkit-primitives, foldkit-crud, foldkit-data-gridNextFoldkit basics

Edit on GitHub ↗

This site is a Foldkit Plus application, rendered at build time with foldkit-ssr. Its source

FoldkitEffectGitHub

Menu

HomeLearnPackagesComponentsPrimitivesDemosBlogGitHub ↗

Learn

Guides

Quickstart
  • Overview
  • Declare what one feature reads and sends
  • Pick your next step by what you are building
Who changes state
  • Overview
  • Messages carry intent, not results worked out from the last frame
  • The two write paths
  • What a reader sees while a change is in flight
  • Semantic state is not runtime work
  • Presentation state is not a fact
Events, folds and gates
  • Overview
  • Fold Messages into state
  • Decide locally, store the fact
  • Where state lives, and what checks it
  • Add a server gate to a fold
  • Message allowlists, authorization rules, and laws
  • One Message is both request and fact
From declarations to the screen
  • Overview
  • How one declaration crosses boundaries
  • Declare a field and a query
  • Declare a write
  • From a changed field to a query
  • From a Selection to a drawing
  • What is derived, and what remains explicit
Wiring
  • Overview
  • A first assembly: two mirrors, one list
  • What a Wiring brings and who provides one
  • How the assembly routes Messages and builds the runtime config
  • Why use an assembly instead of hand-wiring?
  • Wiring vs. Surface, Projection, and Bundles
Errors and failures
  • Overview
  • A first example: a read that fails
  • How failures reach the screen vs. your logs
  • Who owns each failure
  • Read failures
  • Write failures and typed refusals
  • Forms
  • Server responses and error hiding
  • Sync failures and rejected edits
  • Signed out
  • Diagnostics
  • Testing failures
Keep a list up to date
  • Overview
  • Example
Define an operation and check its laws
  • Overview
  • Example
  • Give a checked function an operation name
Hold a rule to a store
  • Overview
  • Example
Write your own language, store or protocol
  • Overview
  • Bundle custom operations into a Language
  • Check a custom store adapter
Upgrading across the MetaKit unification
  • Overview
  • 2. foldkit-entity: Law.*, Operators.implement, and Evidence.Proven removed
Upgrading to 0.41
  • Overview
  • foldkit-mixins-ui: the widgets
  • foldkit-mixins: styles and themes
  • foldkit-entity and foldkit-guard: the domain
  • Servers: what a failure tells its caller
  • foldkit-primitives, foldkit-crud, foldkit-data-grid
Glossary
  • Overview
  • Foldkit basics
  • Feature boundaries (foldkit-surface)
  • Reusable submodels (foldkit-bundle)
  • Domain rules and permissions (foldkit-entity & foldkit-guard)
  • Server data (foldkit-remote)
  • Routing, sync, mirrors, and agents
  • Views and interaction (foldkit-mixins & foldkit-primitives)

Open source, MIT
Foldkit 0.170 · Effect 4