143
10
teMplAte StrAtegy pAtternS
e Template pattern is one of twenty-three design patterns outlined in the book
Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma,
Richard Helm, and Ralph Johnson (1994). is book focuses on the first pattern
because the intent of the Template pattern is to enforce a series of steps. Enforcing a
series of steps is an essential element of providing security. is makes the Template
pattern a useful tool in architecting secure software.
Template Pattern Enforces Process
e Template pattern enforces process and a basic example of where the true useful-
ness of this would occur in real world programming is the process of registering a user.
Registering a user requires a series of steps that ...