Extending Chloe
Furnace framework > Furnace presentation layer > Chloe templates

Prev:Standard Chloe tags


The html.templates.chloe.syntax and html.templates.chloe.compiler vocabularies contain the heart of the Chloe implementation.

Chloe is implemented as a compiler which converts XML templates into Factor quotations. The template only has to be parsed and compiled once, and not on every HTTP request. This helps improve performance and memory usage.

These vocabularies provide various hooks by which Chloe can be extended. First of all, new HTML components can be wired in. If further flexibility is needed, entirely new tags can be defined by hooking into the Chloe compiler.
Extending Chloe with custom components
Extending Chloe with custom tags