docs: separated interface diagram

This commit is contained in:
Ilkka Seppälä
2025-04-10 20:11:01 +03:00
parent 54048a1360
commit a97bfec0a7
2 changed files with 4 additions and 0 deletions
+4
View File
@@ -31,6 +31,10 @@ In plain words
> Defines a client interface separate from its implementation to allow for flexible and interchangeable components.
Sequence diagram
![Separated Interface sequence diagram](./etc/separated-interface-sequence-diagram.png)
## Programmatic Example of Separated Interface Pattern in Java
The Java Separated Interface design pattern is a crucial software architecture strategy that promotes separating the interface definition from its implementation, crucial for enhancing system flexibility and scalability. This allows the client to be completely unaware of the implementation, promoting loose coupling and enhancing flexibility.
Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB