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ä
2025-04-06 19:10:43 +03:00
parent aef4b37c9a
commit 9b64cdee98
21 changed files with 40 additions and 5 deletions
+4
View File
@@ -34,6 +34,10 @@ Wikipedia says
> A feature toggle in software development provides an alternative to maintaining multiple feature branches in source code. A condition within the code enables or disables a feature during runtime. In agile settings the toggle is used in production, to switch on the feature on demand, for some or all the users.
Flowchart
![Feature Toggle flowchart](./etc/feature-toggle-flowchart.png)
## Programmatic Example of Feature Toggle Pattern in Java
This Java code example demonstrates how to display a feature when it is enabled by the developer and the user is a Premium member of the application. This approach is useful for managing subscription-locked features.
Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB