MiniCTRM - Build Tutorial 533: Front end: the Deal Input Screens
→ to begin · N for the speaker notes
On a phone: Next or a swipe left to begin, Notes for the words.
What you'll learn
A swap ticket a trader can live in - a help button on every field, plain-words messages, amend with a version, a confirmed leave when there are unsaved changes, templates that pre-fill it and a layout the firm and each person can arrange - every rule with a test, and the shape ready for the next trade type.
Every field is one thing – One description per field, read by the ticket, the help button, the messages and later the layouts.
The preview always runs – A missing value takes a default on the server and the ticket says so; a broken structure is refused.
Amend, and a version – A saved deal is amended, never re-entered; a version number stops two people overwriting each other blind.
Leaving, copying and templates – The unsaved-changes guard, a draft that survives a closed tab, Copy checked, and templates that pre-fill the ticket.
A layout the firm can arrange – A named arrangement of the fields for the firm and for each person, kept as data and read only by the screen.
Ready for the next trade type – A ticket built from descriptors and a layout, one browser journey through it all, and the ship.
How MiniCTRM did it – The swap ticket's field help, templates and defaults, and the Ticket Layouts screen.
Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.
Welcome
The most careful minute of a trade
1 / 16Every field is one thing
One field, one label, one description
2 / 16Every field is one thing
Field help and messages
3 / 16The preview always runs
A blank takes a default and says so
4 / 16Amend, and a version
Amend, never re-enter
5 / 16Amend, and a version
Amend
6 / 16Leaving, copying and templates
Leaving with unsaved changes
7 / 16Leaving, copying and templates
Copy and templates
8 / 16A layout the firm can arrange
Tickets differ by desk
9 / 16A layout the firm can arrange
Layouts
10 / 16Ready for the next trade type
A shape, not a page
11 / 16Ready for the next trade type
A browser journey, again
12 / 16Ready for the next trade type
Ship it
13 / 16How MiniCTRM did it
The swap ticket
14 / 16How MiniCTRM did it
Ticket Layouts
15 / 16What you have now
What you have now
16 / 16
You have finished lesson 533, Front end: the Deal Input Screens.