docs: diagrams for callback, circuit breaker, client session, collecting parameter, colletion pipeline, combinator, command, commander, component, composite entity, composite view, composite, context object, converter, crtp, currying

This commit is contained in:
Ilkka Seppälä
2025-04-06 11:31:49 +03:00
parent d5a46be3c5
commit 0509fabe8e
31 changed files with 60 additions and 1 deletions
+4
View File
@@ -29,6 +29,10 @@ Wikipedia says
> Composite views that are composed of multiple atomic subviews. Each component of the template may be included dynamically into the whole and the layout of the page may be managed independently of the content. This solution provides for the creation of a composite view based on the inclusion and substitution of modular dynamic and static template fragments. It promotes the reuse of atomic portions of the view by encouraging modular design.
Flowchart
![Composite View flowchart](./etc/composite-view-flowchart.png)
## Programmatic Example of Composite View Pattern in Java
A news site wants to display the current date and news to different users based on that user's preferences. The news site will substitute in different news feed components depending on the user's interest, defaulting to local news.
Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB