Template categories

Organizing templates into categories based on their functional purpose allows us to be productive when implementing the structure of a web page. Templates can be organized into the following three categories, based on the role they serve in implementing the web page structure:

  • Layout templates
  • Partial templates
  • Regular templates

Layout templates describe the general layout of the entire web page. They provide us with a bird's-eye view of the page structure and give us a sense of how all the other templates fit in.

Partial templates contain only a part of the web page, and hence they are named partials. They are partial in nature, since they are meant to fulfill a particular need within a region of the web page, such as displaying the footer of the web page.

Regular templates contain content that is meant for a specific section of the website, and this content is meant to be displayed in the primary content area. In the following sections, we will examine each template category, and consider the respective template implementation performed for each category.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.99.152