[OCaml] High Intensity Training Online
docs Record the view-model boundary
The presenter renders view models, never entities. Add the crossing to the boundary table.
ARCHITECTURE.org
@@ -262,6 +262,7 @@
262
262
| recovery policy | =hito.app= (=Service=) | one policy, so no client can loosen it |
263
263
| persistence | =Repository= port + adapters | the domain must not know SQL exists |
264
264
| phrasing | =hito.web= (=Handlers.Present=) | wording is presentation, not domain |
265
Added:
| view rendering | =hito.web= (=View_model= + =Pages=) | the presenter renders DTOs, never entities |
265
266
266
267
** Identity and per-trainee state
267
268