Specs

Spec topics: declarations and rules.

TilesList
events
NorthConf, a made-up two-day tech conference, as a domain model: the event and its venue, the programme, the people, tickets, and what happens on the day. Its sample data
spec · #events · 21 classes
events-days
Every day before the event (a cron, declared in Init): unpaid registrations get a reminder; on the day before, every volunteer gets their shifts.
spec · #events
events-notify
Every message the event sends goes through this one rule, and here it's kept in the outbox (a Message object). In your own project, this is the one place to change for re
spec · #events
events-onsite
Check-in. A check-in at the door marks the registration as attended; a check-in into a session counts towards its room, and when a session has more people than its room h
spec · #events
events-programme
The double-booking guard. Two sessions can't share a room at the same time. When a session is made or moved, this checks it against the other sessions in the same room: a
spec · #events
events-registrations
A new registration. The organizers hear who registered; the ticket type and the event count it (the event's seatsLeft follows), and when it reaches its capacity it's mark
spec · #events

Trash: deleted topics, kept 30 days.