Brain Dump

Template Method Pattern

Tags
soft-eng

Is a software design pattern where control algorithms are generalised to common skeleton code with dynamically bound subroutines. Sub-instances can vary the steps as needed.

For example a banking transaction object which performs an abstract transaction and then commits the result.

This pattern uses a general algorithm structure [see page 24, indicating] generic behaviour.