Difference between revisions of "Leveraging Tags Via Tag Expressions"

From HLKitWiki
Jump to: navigation, search
(Ways of Using Tags)
Line 16: Line 16:
  
 
:{| class="infotable"
 
:{| class="infotable"
|class="leftnormal"|tag templates
+
|class="leftnormal"|{{fl|Tag Templates}}
 
|Tag templates provide a simple mechanism to determine if an entity contains a specific tag. Templates also provide wildcard comparisons.
 
|Tag templates provide a simple mechanism to determine if an entity contains a specific tag. Templates also provide wildcard comparisons.
 
|-
 
|-
|tag terms
+
|{{fl|Tag Terms}}
 
|Tag terms build upon tag templates to determine if entities comply with a specific criteria, whether it be the presence of a tag or an arithmetic comparison against a tag.
 
|Tag terms build upon tag templates to determine if entities comply with a specific criteria, whether it be the presence of a tag or an arithmetic comparison against a tag.
 
|-
 
|-
|tag expressions
+
|{{fl|Tag Expressions}}
 
|Tag expressions utilize Boolean logic to combine tag terms into complex expressions.
 
|Tag expressions utilize Boolean logic to combine tag terms into complex expressions.
 
|-
 
|-
|arithmetic expressions
+
|{{fl|Arithmetic Expressions Within Tag Expressions|Arithmetic Expressions}}
 
|Arithmetic expressions enable the creation of calculations based upon the tags assigned to objects in the portfolio.
 
|Arithmetic expressions enable the creation of calculations based upon the tags assigned to objects in the portfolio.
 
|-
 
|-

Revision as of 03:24, 22 November 2008

Context: HL KitBasic Concepts and Terminology 

General Overview

The Kit utilizes tags as a fundamental building block upon which a substantial number of mechanisms are based. While scripts and field values are critical components as well, you'll often rely on tags to determine when and how to process those scripts and fields. This section provides in-depth details on how to leverage tags in your design and how tags are utilized through tag expressions.

IMPORTANT! This section assumes you are already familiar with the basics of tags and tag expressions. If you have not already done so, please review the section Tag Expressions Basics before proceeding with this section.

Crafting Your Design Around Tags

This section delves into the nature of tags and how they can be leveraged for a diverse range of purposes. Simply click the link above to learn about tags.

Ways of Using Tags

The syntax details are quite similar for all of the various ways in which tags can be utilized, since all are built upon the same fundamental elements. In general, there are four basic layers of use that progressively build upon each other, with each being briefly summarized below and described in full detail in the sections that follow.

Tag Templates Tag templates provide a simple mechanism to determine if an entity contains a specific tag. Templates also provide wildcard comparisons.
Tag Terms Tag terms build upon tag templates to determine if entities comply with a specific criteria, whether it be the presence of a tag or an arithmetic comparison against a tag.
Tag Expressions Tag expressions utilize Boolean logic to combine tag terms into complex expressions.
Arithmetic Expressions Within Tag Expressions Arithmetic expressions enable the creation of calculations based upon the tags assigned to objects in the portfolio.

Each of the above methods of using tags is detailed in the topics below.