How it’s built
Patterns behind the tools
Each tool here is deliberately built on a named enterprise software pattern, and doubles as a public, working demo of it. These are the write-ups.
Patterns
Pomodoro Timer
State machine
A finite state machine on the server: explicit states, named transitions, invalid moves rejected at the domain layer, one active session enforced by the database.
GTD Task Manager
Event sourcing + CQRS
Each task is an append-only event stream; the aggregate is rebuilt by replay and validates commands against that state. A projection maintains the query-optimized board in the same transaction.
Habit Tracker
Task & Work archetype
A habit is an ActivityPlan; each check-off is an instance in an append-only log. Streaks are a pure function of the log and the frequency rule.
Budget Tracker
Accounting archetype
An envelope is an account; every expense is an immutable entry in an append-only ledger. Spent and remaining are always derived by summing entries — never stored — and corrections are reversal entries, not deletes.