AF-Efan 1.3.2A library for rendering Embedded Fantom (efan) templates
afEfan
is a library for rendering Embedded Fantom (efan) templates.
Much like EJS
for Javascript, ERB
for Ruby and JSP
for Java, efan lets you embed snippets of Fantom code inside textual templates.
afEfan
aims to hit the middle ground between programmatically rendering markup with web::WebOutStream and rendering logicless templates such as Mustache.
ALIEN-AID: If rendering HTML, use afSlim !!! The concise and lightweight template syntax makes generating HTML easy!
Install
To install AF-Efan with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install AF-Efan with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/
directory.
Use
To use AF-Efan in a Fantom project, add a dependency to the project's build.fan
:
depends = ["sys 1.0", ..., "afEfan 1.3.2 - 1.3"]
Documentation
Information
Meta information on the AF-Efan pod:
- Published by
- Steve Eynon
- Organisation
- Alien-Factory
- Pod file size
- 41.05 kB
- Licence
- BSD 2-Clause License
- Built on
- 14th Nov 2013
- Source code
- at https://bitbucket.org/AlienFactory/afefan
- Depends on
- afPlastic, concurrent, sys
- Referenced by
- Javascript Compatible
- No
Dependency Graph
Release History
There have been 21 releases of AF-Efan: