URI Templates are strings that contain embedded variables that are transformed into URIs after embedded variables are substituted.
More information about URI Templates can be found at the following locations:
Constructing or Traversing URIs? on XML.com
In a nutshell, URI Templates allow actors to specify a certain structure for URIs in order to make it possible for other actors to fill the structure with concrete information later. Joe Gregorio has posted an example of a possible use case.
The URI_Template package can be installed using the PEAR installer command pear install URI_Template.
Alternative installation methods for situations where one has no access to the pear installer command can be found in the general installation chapter.
Example 54-1.
|