
Template Method Pattern
Software Engineering, Software Design Pattern, Behavioral Pattern, Template (Programming), XML, API
Betascript Publishing
Published on 17. March 2026
Book
Paperback/Softback
96 pages
978-613-0-44554-6 (ISBN)
Description
Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In software
engineering, the template method pattern is a design pattern. It is a
behavioral pattern, and is unrelated to C++ templates. In a template
pattern, the model (data such as XML, or a set of APIs) has no inherent
knowledge of how it would be utilized. The actual algorithm is delegated
to the views, i.e. templates. Different templates could be applied to
the same set of data or APIs and produce different results. Thus, it is
a subset of model-view-controller patterns without the controller. The
pattern does not have to be limited to object-oriented programming. For
example, different XSLT templates could render the same XML data and
produce different outputs. C++ templates also make it possible to code
the algorithms (i.e. views) without having to use abstract classes or
interfaces.
More details
Language
English
Place of publication
United States
Product notice
Paperback (trade)
Unsewn / adhesive bound
Dimensions
Height: 220 mm
Width: 150 mm
Thickness: 6 mm
Weight
161 gr
ISBN-13
978-613-0-44554-6 (9786130445546)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification