Definition

template

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.

 

Contributor(s): Peter Sim
This was last updated in June 2007
Posted by: Margaret Rouse

Email Alerts

Register now to receive SearchSOA.com-related news, tips and more, delivered to your inbox.
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

More News and Tutorials

Do you have something to add to this definition? Let us know.

Send your comments to techterms@whatis.com

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: