Live briefing
Everything about Template method pattern
Behavioral design pattern in object-oriented programming
In object-oriented programming, the template method is one of the behavioral design patterns identified by Gamma et al. in the book Design Patterns. The template method is a method in a superclass, usually an abstract superclass, and defines the skeleton of an operation in terms of a number of high-level steps. These steps are themselves implemented by additional helper methods in the same class as the template method. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: Template method patternA 5-minute orientation
- Pick up a classic book: Technical CommunicationThe most-reprinted book on the subject
- Read the landmark paper: Automated refactoring of super-class method invocations to the Template Method design patternCited 22 times
- Go sideways: Call superA closely related topic
- Go sideways: Method (computer programming)A closely related topic
📖 Definitions
Noun A behavioural software design pattern that defines the flow of the algorithm with the template method.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
Automated refactoring of super-class method invocations to the Template Method design pattern
A template based method of pattern matching in protein sequences
A template (pattern) method of abdominal lipectomy
Implementing the template method pattern in genetic programming for improved time series prediction
Template Method test pattern
Automatic template selection technique for the local pattern matching method
Pattern Recognition Of Javanese Letter Using Template Matching Correlation Method
Implementing object equivalence in Java using the template method design pattern
📚 Books worth reading
Technical CommunicationJohn M. Lannon · 2000
Design PatternsErich Gamma, John Vlissides · 1995
AutoCAD and its applicationsTerence M. Shumaker · 1993
Pattern recognition neuroradiologyNeil M. Borden · 2011
DNA nanotechnologyGiampaolo Zuccheri · 2011- 📕Sedimentary ModelingEvan K. Franseen · 1991
Handbook of Iris RecognitionMark J. Burge · 2013
PTAexamScott M. Giles · 2010
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Call super Call super is a code smell or anti-pattern of some object-oriented programming languages. Call super is a design pattern in which a particular class stipulates…
- Method (computer programming) A method in object-oriented programming (OOP) is a procedure associated with an object, and generally also a message. An object consists of state data…
- Inheritance (object-oriented programming) In object-oriented programming, inheritance is the mechanism of basing an object or class upon another object (prototype-based inheritance) or class (class-base…
- Factory method pattern In object-oriented programming, the factory method pattern is a design pattern that uses factory methods to deal with the problem of creating objects without…
- Method overriding Method overriding, in object-oriented programming, is a language feature that allows a subclass or child class to provide a specific implementation of…
- Decorator pattern In object-oriented programming, the decorator pattern is a design pattern that allows behavior to be added to an individual object dynamically, without…
- Fragile base class The fragile base class problem is a fundamental architectural problem of object-oriented programming systems where base classes (superclasses) are considered…
- Software framework In computer programming, a software framework is an abstraction in which software, providing generic functionality, can be selectively changed by additional…