A web template is a tool used to separate content from presentation on the web design, and to the massive production of web pages.
Content on websites needs updating and standardization. A news website, for example, needs daily updating and each updated news item will be contextualized by a standard layout and standard page-location. A strategy to automate this standardization is:
template are a good examples: the wiki engine is the template engine, and a specfic wiki template (the web template) is used into a set of articles (the content).
$x by the database content (in page 01 "Mother", on page 02 "World").
$x on the picture) and the value that it assumes (related database).
M(VR)C (R stands "redenderer"), where data details such as date format ("11/10/2006" or "2006-10-11" presentation) or decimal point ("1,000,000" or "1000000" presentation) need to solved without breaking the separation strategy. A classical solution is to "pre-process" the data on template engine with renderer functions. Good CSS use can also solve a lot of these cases
Web templates can be seen from many perspectives:
From the "moment of the substitution process" and server perspective:
From the template engine parsing algorithm perspective (template language perspective):
print command into languages like PERL or PHP, on print "Hello $x" staments, are good examples. Theoretical formal definition: "context-free templates".
From the web designers perspective,
Web Templates, as "web designers necessity", started with the HTML and web browsers popularization. The CGI (for dynamic page generation) was stable in the 1993's, but the main "necessity" in this first times of the web, was for static pages production. Many independent softwares and HTML edictors adoted a kind of static web template.
Perhaps the first rudimentar server-side web templates was on tipical Unix web servers, for AWK (plugged on CGI) report generator.
Many "active" languages (PHP, CFM, ASP, "Active Perl", etc.) working on (CGI) web servers, as a interpreted language, was adopted as a (general propose) complex template languages.
With the growing of on-line and e-commerce systems, and popularization of web portals (with your CMS), the use of server-side web templates growed and domined the "web template scenery"; but now with the good separation principles enforcing iterable templates and sub-languages.
The hi diversity of "template languages" (as a kind of "sub-language" of the CMS or the server-side programming languages), pointed the needs for a "temaplate standard language". The matureness of XSLT and standarization of XQuery, promises, for near future, a kind of convergence.
Languages can be defined in a standard or in a "exclusive" context:
Commercial solutions
Usually a "simple template" will include most of the source files necessary for further customizing the template using most modern WYSIWYG editors such as Macromedia Dreamweaver, BlueFish, Amaya or FrontPage, or in plain text editors such as Notepad or VIM.
On Macromedia Dreamweaver the item may also include a graphical template created in Adobe Photoshop or Macromedia Fireworks MX making it easy to edit or customise graphics and images.
A FrontPage web template is one used only with Microsoft's FrontPage software. One of the more unique features of FrontPage is that it has built in support for automated and easy to use web templates. The main distinction between these templates and other universal html templates is that FrontPage templates include an automatic navigation system that creates animated buttons for pages that have been added by the user, and creates an advanced multi-level navigation system on the fly using the buttons and the structure of the web site. FrontPage templates also commonly include FrontPage themes in place of CSS styles.
A Flash web template uses Macromedia Flash to create visually appealing sites. Flash sites make use of visual effects employed by Flash. Flash is also used for many website intros.
Web templates are sometimes free, and easily made by an individual domestically. However specialized web templates are sometimes sold online. While there are numerous commercial sites that offer web templates, there are also free and "open-source" sources.
Web design | Web server software | Scripting languages | Template engines
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Web template".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world