5.4 Macro Processing

#
5.4 Macro Processing

Tags in this section provide a simple macro processing environment for template files.

The main purpose of Albatross macros is to provide a mechanism to divide your HTML into presentation structure and presentation appearance. By defining appearance presentation tricks inside macros you can make global changes to your web application appearance by changing one macro.

The `<al-macro>` (5.4.1) and `<al-usearg>` (5.4.2) tags are used to define macros, while `<al-expand>` (5.4.3) and `<al-setarg>` (5.4.4) are used to invoke and expand previously defined macros.

The `ResourceMixin` (7.1) and `ExecuteMixin` (7.2) classes provide the Albatross macro definition and execution facilities respectively.