Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
service
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
Freenet DSL
Who's Online
4 user(s) are online (3 user(s) are browsing encyclopedia)

Members: 0
Guests: 4

more...
partner

Template

A template is some form of device to provide a separation of form or structure from content.

In publishing for example, a template may be a predefined layout to give you an idea what to write where with boxes and lines; a single-page newsletter template (for instance), might have a few columns, space for a picture and gaps for the headline and name of the newsletter.

Templates can be used by humans or by automated systems; many web-based software packages now use a templating system to separate the logic of the program from the displayed formatting. Typically, these templates will include variables (often denoted {VARIABLE} ), and possibly a few logical operators to allow better adaptability of the template. Examples of template engine are CheetahTemplate, Smarty and XSL Transformations.

In Generic programming, templates allow the programmer to save time and space in source code by simplifying code through overloading functions with an arbitrary type parameter.

In planning Orthopedic surgery templates are overlays placed on Xray films of bones to determine the size of the implants needed for the operation.

=See also=

*Pattern *Document assembly software *Standard Template Library