1:<rexxtags:page title="What else can I do with REXXTAGS?" type="Tutorial"> 2:
3:<p>With REXXTAGS you can write XML tags much faster than with JSPs.
4: All your tags are implemented in REXX: you simply write a procedure,
5: drop it in a directory (more about that later), and start using your new tag.
6:</p> 7:<p>Technically, you can: </p> 8:<ul> 9: <li>Get the XML tag parameters passed to your REXX tag procedure.</li> 10: <li>If desired, process the body of the tag verbatim (i.e. like JSP's body-contents
11: TagDependent). </li> 12: <li>If desired, process the body of the tag, after the tags which were found
13: in the body are processed (like JSP's body-contents JSP). </li> 14: <li>Return one or multiple lines of HTML code as the expansion of the start
15: tag, the end tag, or the body. </li> 16: <li>Return REXX code as the expansion of a REXX tag, allowing communication
17: between tags, state sharing, etc. </li> 18: <li>Insert <%=expr%> expressions in your page.</li> 19: <li>Import REXX code into the translated page.</li> 20:</ul> 21:
22:<p>Inside your REXX tag, you can do whatever suits you to implement your tag semantics,
23: since you have all the power of REXX at your disposal. In particular, you can:
24:</p> 25:
26:<ul> 27: <li>Connect to SQL databases, query and update them (for example,
28: to provide accurate page counters for all your pages, track users, etc).
29: </li> 30: <li>Do all kinds of REXX file i/o, arbitrary precision arithmetic, subroutine calling, etc.</li> 31: <li>Manipulate parameters and XML code easily with REXX's Parse instruction.</li> 32: <li>Whatever else you can imagine (and can be programmed in REXX).</li> 33:</ul> 34:
35:<br /> 36:
37:</rexxtags:page>
/tutorial/showpage.html
Last update: 29/12/11 at 14:22