Web templating: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
Line 4: Line 4:
== Definitions ==
== Definitions ==


{{quotation|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. [...] A 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.}} ([http://en.wikipedia.org/wiki/Web_template Webtemplate], Wikipedia, retrieved 16:20, 14 September 2009 (UTC)).
{{quotation|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. [...] A 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.}} ([http://en.wikipedia.org/wiki/Web_template Webtemplate], Wikipedia, retrieved 16:55, 14 September 2009 (UTC)).


{{quotation|Templating, and in particular Web templating, involves the presentation of information in a form which is often (but not always) intended to be readable, even attractive, to a human audience. Frequently, templating solutions involve a document (the template) which may look somewhat like the final output but perhaps in a simplified or stylized form, along with some data which must be presented using that template; combining these two things produces the final output which in Web templating is usually (but not always) a Web page of some kind.}} ([http://wiki.python.org/moin/Templating Templating in Python], retrieved 16:20, 14 September 2009 (UTC) )
{{quotation|Templating, and in particular Web templating, involves the presentation of information in a form which is often (but not always) intended to be readable, even attractive, to a human audience. Frequently, templating solutions involve a document (the template) which may look somewhat like the final output but perhaps in a simplified or stylized form, along with some data which must be presented using that template; combining these two things produces the final output which in Web templating is usually (but not always) a Web page of some kind.}} ([http://wiki.python.org/moin/Templating Templating in Python], retrieved 16:55, 14 September 2009 (UTC) )


{{quotation|HTML embedded in code is messy and difficult to maintain. It's better to use a templating system, where the HTML is kept in a separate file with special syntax to indicate where the data from the application appears.}}
{{quotation|HTML embedded in code is messy and difficult to maintain. It's better to use a templating system, where the HTML is kept in a separate file with special syntax to indicate where the data from the application appears.}}
([http://code.google.com/appengine/docs/python/gettingstarted/templates.html Using Templates], Google App Engine, retrieved 16:20, 14 September 2009 (UTC))
([http://code.google.com/appengine/docs/python/gettingstarted/templates.html Using Templates], Google App Engine, retrieved 16:55, 14 September 2009 (UTC))


Templating systems are very common in [[portalware]], and particularly [[content management system]]s.
Templating systems are very common in [[portalware]], and particularly [[content management system]]s.


== The rationales for using templating systems ==
== The rationales for using templating systems ==
[[image:TempEngWeb016.svg|right|none|The basic process: content (from a database), and "presentation specifications" (in a web template), are combined (through the template engine) to mass-produce web documents. (Source: [http://en.wikipedia.org/wiki/User:Dreftymac/Docs/ImageDisclaimer E.F. Tymac], [http://en.wikipedia.org/wiki/File:TempEngWeb016.svg Wikipedia]) ]]
[[image:TempEngWeb016.png|right|none|The basic process: content (from a database), and "presentation specifications" (in a web template), are combined (through the template engine) to mass-produce web documents. (Source: [http://en.wikipedia.org/wiki/User:Dreftymac/Docs/ImageDisclaimer E.F. Tymac], [http://en.wikipedia.org/wiki/File:TempEngWeb016.svg Wikipedia]) ]]


== Types of templating systems ==
== Types of templating systems ==

Revision as of 17:55, 14 September 2009

This article or section is currently under construction

In principle, someone is working on it and there should be a better version in a not so distant future.
If you want to modify this page, please discuss it with the person working on it (see the "history")

Definitions

“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. [...] A 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.” (Webtemplate, Wikipedia, retrieved 16:55, 14 September 2009 (UTC)).

“Templating, and in particular Web templating, involves the presentation of information in a form which is often (but not always) intended to be readable, even attractive, to a human audience. Frequently, templating solutions involve a document (the template) which may look somewhat like the final output but perhaps in a simplified or stylized form, along with some data which must be presented using that template; combining these two things produces the final output which in Web templating is usually (but not always) a Web page of some kind.” (Templating in Python, retrieved 16:55, 14 September 2009 (UTC) )

“HTML embedded in code is messy and difficult to maintain. It's better to use a templating system, where the HTML is kept in a separate file with special syntax to indicate where the data from the application appears.” (Using Templates, Google App Engine, retrieved 16:55, 14 September 2009 (UTC))

Templating systems are very common in portalware, and particularly content management systems.

The rationales for using templating systems

The basic process: content (from a database), and "presentation specifications" (in a web template), are combined (through the template engine) to mass-produce web documents. (Source: E.F. Tymac, Wikipedia)

Types of templating systems

Links

Overviews

Language specific

Python