1 IN: html.templates.fhtml
2 USING: help.markup help.syntax ;
5 { $values { "path" "a pathname string" } { "fhtml" fhtml } }
6 { $description "Creates an FHTML template descriptor." } ;
8 ARTICLE: "html.templates.fhtml" "FHTML templates"
9 "The " { $vocab-link "html.templates.fhtml" } " vocabulary implements a templating engine which mixes markup with Factor code."
11 "FHTML provides an alternative to " { $vocab-link "html.templates.chloe" } " for situations where complex logic must be embedded in the presentation layer of a web application. While this is discouraged for larger applications, it is useful for prototyping as well as simpler applications."
13 "The entire syntax of an FHTML template can be summarized as thus: text outside of " { $snippet "<%" } " and " { $snippet "%>" } " is rendered literally. Text inside " { $snippet "<%" } " and " { $snippet "%>" } " is interpreted as Factor source code."
14 { $subsection <fhtml> } ;
16 ABOUT: "html.templates.fhtml"