Example
See author-composed separation of concerns diagrams →
← Lenses and diagramsPROGRAM ORGANIZATION
Explore a program’s organization.
When a feature changes several handlers, where should that change live? Explore this forum’s request handlers and shared building blocks. Open a group, follow its references, and compare two ways to extract repeated response construction.
Sketch a structural proposal against the frozen snapshot
Loading the recorded map. The browser compiler starts only when you rebuild or run.
Try an extension before choosing an abstraction
- Add
has_repliesat the top level of the successfulread_thread,post_replyandedit_postresponses, based on the returned post list. - Add
fresh_reply_idonly to the successful reply response. Keep the other responses unchanged. - Add
member_countinside every serialized Thread. Inspectrender_threadfirst: the existing abstraction already covers this change. - The preview extension reuses validation, visibility, capacity checks, reads, and shared fields to show the current thread without allocating an ID or writing a post. Compare its direct effects with
post_reply.
Read or edit source and comparison metadata
What the map establishes
Download the source, authored view and checked artifactAsk your agent about anything here; it has the detail.
Where this fits
What this is about: Lenses and diagrams