docs: add diagrams for facade, factory kit, factory method, factory, fan-out/fan-in, feature toggle, filterer, fluent interface, flyweight, front controller, function composition

This commit is contained in:
Ilkka Seppälä committed 2025-04-06 19:10:43 +03:00
1 parent aef4b37c9a
commit 9b64cdee98
21 files changed
+40 -5

No files matched your search

+4
View File
@@ -35,6 +35,10 @@ Wikipedia says
> In software engineering, a fluent interface is an object-oriented API whose design relies extensively on method chaining. Its goal is to increase code legibility by creating a domain-specific language (DSL).
Sequence diagram
![Fluent Interface sequence diagram](./etc/fluent-interface-sequence-diagram.png)
## Programmatic Example of Fluent Interface Pattern in Java
We need to select numbers based on different criteria from the list. It's a great chance to utilize fluent interface pattern to provide readable easy-to-use developer experience.
Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB