# Best Practices Repository

The Best Practice repository demonstrates [tag replacement techniques](https://docs.tomorrowx.com/cap/best-practices/tag-replacement-techniques).

The initiator rule set “**BestPractices\_Init**” calls the “**SetupData**” rule set that prepares the data that will be used in the “**CreateOutput**” rule set, where the output will be produced in `html` format.

The “**CreateOutput**” rule set contains the “**Template Replacer**” rule that uses the simple tag replacer technique to replace all identifiers in the html content, with the given variable names.

The “**Fill Html List**”, “**Fill Html Options**” and “**Fill Html Table**” helper rule sets that are part of the “**HTTP Tools**” repository, use the “tag replacement with parent tag repetition technique”, allowing for the repetition of html code already found in the “`homepage.html`” file and avoiding any hard-coded html in the rules.
