Software Architecture & Engineering
77 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- Use-Case Diagramhistorical
Use-case diagrams describe system actors and the functions available to each. These notes record relationships between actors and use cases.
- Prototype Patternhistorical
When object creation requires substantial preparation, an existing object can be copied and adjusted. These notes introduce the prototype pattern through that idea.
- Abstract Factory Patternhistorical
An abstract factory creates families of related products. These notes examine factory responsibilities through scenarios requiring multiple product components.
- Simple Factory Patternhistorical
A simple factory separates object creation from usage, selecting and creating concrete instances. These notes illustrate that division through examples.
- Design Patterns I Have Usedhistorical
Questions and answers review design patterns used in practice, starting with singleton implementation and linking code with usage scenarios.
- Flyweight Patternhistorical
The flyweight pattern reuses many identical or similar objects to reduce repeated creation. These notes examine shared-object organization through examples.
- Facade Patternhistorical
The facade pattern places a complex process behind a unified entry point so callers can access internal functionality through a simpler interface.
- Bridge Patternhistorical
The bridge pattern handles class structures that vary along multiple dimensions. These notes use examples to show how to separate and combine those dimensions.
- Composite Patternhistorical
The composite pattern represents parts and wholes in a tree so callers can access leaf and container nodes consistently.
- Mediator Patternhistorical
Direct interactions among objects can create complex coupling. The mediator pattern places coordination in an intermediary, illustrated here through examples.