4.0 RES-Reach TAGS
   The programming language for RES-Reach applications is HTML(Hypertext Markup Language). RES-Reach introduces 3 new tags:
  • IF tag
  • DATA tag
  • RECORD tag
  • SET tag

In addition to the tags listed above, RES-Reach also supports a special tag, <![ comments]>, for RES-Reach comments. Any RES-Reach tags and variables which appear in a RES-Reach comment are ignored. The contents of these comments are also NOT sent to the Browser, so developers can be confident that end-users will not be able to view any confidential material which may be in them.

RES-Reach tags are placed before, within or after standard HTML tags (e.g. <HTML>, <HEAD>, <BODY>, etc.) in RES-Reach template files, i.e. ".NBT" files. (Sample template files are included in Chapter 5.) These template files are passed as parameters to the RES-Reach message handler. This message application (handler) is a light, fast process that communicates with the Web server using the CGI interface. Therefore, you can cause RES-Reach to process a template file via a URL like http://www.yoursite.com/cgi-bin/reach.exe?NBT=rchapp, where "reach.exe" is the name of the RES-Reach message handler and "rchapp" is a template file ("rchapp.nbt"). The exact contents of the URL will depend on how you installed RES-Reach (see Chapter 2).

The syntax and usage of these tags and of RES-Reach variables are explained in detail in this chapter. Section 4.1 begins by describing the syntax and use of RES-Reach variable replacement, a feature which enhances the value of the new tags. Sections 4.2 to 4.6 describe the three new tags in detail. Section 4.7 explains how the RES-Reach tags in combination with SQL queries can perform the functions of most standard operators. Sections 4.8 and 4.9 describe how Javascript is included in a RES-Reach template file and how to override standard HTTP headers, respectively.