Html Website Layout - Html Css Web Concepts and Tools

Опубликовано: 04 Октябрь 2024
на канале: Muhammad Amir
2,019
6

Html Website Layout - Html Css Web Concepts and Tools
Learn Web Design - Responsive Web Design
   • Learn Web Design - Responsive Web Design  

A web template system uses a template processor to combine web templates to form finished web pages, possibly using some data source to customize the pages or present a large amount of content on similar-looking pages. It is a web publishing tool present in content management systems, web application frameworks, and HTML editors.

Web templates can be used like the template of a form letter to either generate a large number of "static" (unchanging) web pages in advance, or to produce "dynamic" web pages on demand.

Overview[edit]
A web template system is composed of[citation needed]:

A template engine: the primary processing element of the system;[1]
Content resource: any of various kinds of input data streams, such as from a relational database, XML files, LDAP directory, and other kinds of local or networked data;
Template resource: web templates specified according to a template language;
The template and content resources are processed and combined by the template engine to mass-produce web documents. For purposes of this article, web documents include any of various output formats for transmission over the web via HTTP, or another Internet protocol.

Learn HTML/CSS - #19 - Build a Full HTML Site Layout
   • Learn HTML/CSS - #19 - Build a Full H...  
HTML5 & CSS Web Design - 107 - HTML5 Page Layout
   • HTML5 & CSS Web Design - 107 - HTML5 ...  

Motivations and typical uses[edit]
Applications[edit]
Web 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. Examples of common uses of Templates are listed below:

Display personal information or daily activities as in a blog.
Sell products on-line.
Display information about a company or organization.
Display family history.
Display a gallery of photos.
Place music files such as MP3 files on-line for play through a web browser.
Place videos on-line for public viewing.
To set up a private login area on-line.
Mass-production[edit]
Various agencies and organizations use web template systems for mass-production of content when slower production alternatives prove unfeasible.[citation needed]

For an introductory overview, take a news website as an example. Consider a "static website", where all web pages are static, built by a web designer. It would be very repetitive work to change individual pages as often as the news changes. A typical strategy to automate the web designer's "repetitive work" using Templates could be as follows:

choose a web template system to maintain the website;
group news items with different presentation needs;
specify the "presentation standards" through web templates, for each group of news;
specify a content resource to generate or update the content of each news item.
Style standardization[edit]
[icon] This section requires expansion. (March 2012)
Separation of concerns[edit]
Main article: Separation of concerns
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.[2] Developers use web template systems (with varying degrees of success) to maintain this separation.[2]

For the web designer, when each web page comes from a web template, they can think about a modular web page structured with components that can be modified independently of each other. These components may include a header, footer, global navigation bar (GNB), local navigation bar and content such as articles, images, videos etc.

For programmers the template language offers a more restricted logic, only for presentation adaptations and decisions, not for complex (business model) algorithms.[citation needed]

For other members of the "site team", a template system frees webmasters to focus on technical maintenance, content suppliers to focus on content, and gives all of them more reliability.