Design Pattern: Template in PHP
Next in the Head First Design Patterns series is the Template Pattern. The template pattern defines the skeleton of an algorithm in a method and defers some of the implementation of the steps to the subclasses. The subclasses can redefine certain steps of the algorithm without changing the algorithm’s structure.

