mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 22:14:41 +00:00
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:
1 parent
aef4b37c9a
commit
9b64cdee98
21 files changed
+40
-5
No files matched your search
@@ -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
|
||||
|
||||

|
||||
|
||||
## 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.
|
||||
|
||||
Reference in new issue
Block a user