Skip to content

Recipes

Four small builds, each an afternoon at most, each assembled from chapters you have already read. Every step names the chapter that proved it.

1. A club membership list that cannot drift

Shape. One table, Members: Name (text), Email (email), PaidUntil (date), Status (single select: Active / Lapsed / Honorary). One table, Payments: Amount (currency), Date (date), For (link to Members). A rollup on Members sums Payments.Amount; a lookup brings the latest payment's date across if you add one — the pattern is chapter 7 exactly.

The habit it replaces. The spreadsheet where "paid" is a column of yeses typed from memory. Here the rollup is the memory: it cannot be edited into optimism, because nobody can type into it at all (chapter 5).

Sharing. Make a view filtered to Status = Active, hide the money fields, share that view with the committee (chapter 8). They see who is current; they cannot see what anyone paid.

2. The workshop stock check

The lab's inventory, one step further. Add to Items a Number field ReorderBelow, and a Formula field:

IF({Quantity} <= {ReorderBelow}, "REORDER", "")

Make a view filtered to rows where the formula says REORDER, and the stock check becomes a page that is empty when nothing needs buying. Recipes 1 and 2 share their moral: put the rule in a field, and the table keeps the rule for you (chapters 5 and 7).

3. Collect answers with a shared form

Shape. Any table. Build a Form view containing only the fields a respondent should touch, share the form, and send the link (chapter 8). Submissions land as records in the table, which stays private — the form is a door that only opens inward.

Good for. RSVPs, fault reports, "what should the library buy" — any list whose keepers are few and whose contributors are everyone. Add a CreatedAt column to the grid view and you have a timestamped inbox; the system fields were keeping it all along (chapter 5).

4. The nightly script

A small program, run by cron on the same machine, that reads a base through its API with a dedicated token (chapter 9) and writes a summary somewhere you'll see it:

  1. Create an API token named for this job, and no other.
  2. From the script, GET the records with the where filter the question needs — (PaidUntil,lt,today) in the club's case, written in the filter language of chapter 6.
  3. Print the names. That is the whole report: who lapses this month, what needs reordering, which rows nobody has touched in a year (UpdatedAt has been keeping score).

The script holds a token instead of a password precisely so that retiring the job means deleting one token, not changing a person's credentials — chapter 9's rule, applied.