|
A web template is a tool used to separate content from presentation in web design, and for mass-production of web documents. It is a basic component of a web template system. Web templates can be used to set up any type of website. In its simplest sense, a web template operates similarly to a form letter for use in setting up a website.
Content (from a database), and "presentation specifications" (in a web template), are combined (through the template engine) to mass-produce web documents.
[edit] Template UsesWeb templates can be used by any individual or organization to set up their website. Once a template is purchased or downloaded, the user will replace all generic information included in the web template with their own personal, organizational or product information. Templates can be used to:
[edit] Effective separationA common goal among experienced web developers is to develop and deploy applications that are flexible and easily maintainable. An important consideration in reaching this goal is the separation of business logic from presentation logic.[1] Developers use web template systems (with varying degrees of success) to maintain this separation.[1] One difficulty in evaluating this separation is the lack of well-defined formalisms to measure when and how well it is actually met.[1] There are, however, fairly standard heuristics that have been borrowed from the domain of software engineering. These include 'inheritance' (based on principles of object-oriented programming); and the 'Templating and Generative programming', (consistent with the principles of MVC separation).[2] The precise difference between the various guidelines is subject to some debate, and some aspects of the different guidelines share a degree of similarity.[3] [edit] Flexible presentationOne major rationale behind "effective separation" is the need for maximum flexibility in the code and resources dedicated to the presentation logic.[2] Client demands, changing customer preferences and desire to present a "fresh face" for pre-existing content often result in the need to dramatically modify the public appearance of web content while disrupting the underlying infrastructure as little as possible. The distinction between "presentation" (front end) and "business logic" (infrastructure) is usually an important one, because:
[edit] ReusabilityNot all potential users of web templates have the willingness and ability to hire developers to design a system for their needs. Additionally, some may wish to use the web but have limited or no technical proficiency. For these reasons, a number of developers and vendors have released web templates specifically for reuse by non-technical people. Although web template reusability is also important for even highly-skilled and technically experienced developers, it is especially critical to those who rely on simplicity and "ready-made" web solutions. Such "ready-made" web templates are sometimes free, and easily made by an individual domestically. However, specialized web templates are sometimes sold online. Although there are numerous commercial sites that offer web templates for a licensing fee, there are also free and "open-source" sources as well. [edit] Open source templatesThe rise of the open source design movement has seen a slow but steady rise in the community of open source designers. Some sites offer open source templates in addition to other content. As of this writing there are over 4000 unique templates available for modification and use by anyone under various open source licenses.[citation needed] [edit] Notes and references
[edit] See also
[edit] ExamplesWiki template is a good example: the wiki engine is the template engine, and a specific wiki template (http://en.wikipedia.orgindex.php?title Special%3AAllpages&from Footer+Olympic&namespace 10) (the web template) is used into a set of articles (the content).
m:Help:Substitution — more detailed information on subst template (on the Meta-Wiki).
Template:Subst — a template that reminds users to subst.
Help:template — wiki template help page.
Help:Editing#Templates — another help page.
[edit] External linksPágina espejo de la WikipediaDirectorio de Enlaces Directorio dmoz Directorio espejo dmoz Pedro Bernardo |