Definition

template

Contributor(s): Peter Sim

A template is a form, mold, or pattern used as a guide to making something. Here are some examples:

  • A ruler is a template when used to draw a straight line.
  • A document in which the standard opening and closing parts are already filled in is a template that you can copy and then fill in the variable parts.
  • An overlay that you put on your computer keyboard telling you special key combinations for a particular application is a template for selecting the right keys to press.
  • Flowcharting templates (not used much now) help programmers draw flowcharts or logic sequences in preparation for writing the code.
  • In programming, a template is a generic class or other unit of source code that can be used as the basis for unique units of code. In C++, an object-oriented computing language, there are Standard Template Libraries from which programmers can choose individual template classes to modify. The Microsoft Foundation Class Library (MFCL) is an example.

 

This was last updated in June 2007

Dig Deeper on SOA, XML and Web Services Development Tools

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

File Extensions and File Formats

Powered by:

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close