AF-Efan 1.0.0A library for rendering Embedded Fantom (efan) templates
afEfan is a Fantom library for rendering Embedded Fantom (efan) templates.
Much like EJS for Javascript, ERB for Ruby and JSP for Java, EFAN allows you to embed snippets of Fantom code inside textual templates.
Efan aims to hit the middle ground between programmatically rendering markup with web::WebOutStream and using logicless templates with Mustache.
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.0.0 - 1.0"]
Documentation
Information
Meta information on the AF-Efan pod:
- Published by
- Steve Eynon
- Organisation
- Alien-Factory
- Pod file size
- 47.03 kB
- Licence
- BSD 2-Clause License
- Built on
- 3rd Sep 2013
- Source code
- at https://bitbucket.org/AlienFactory/afefan
- Depends on
- compiler, concurrent, sys
- Referenced by
- Javascript Compatible
- No
Dependency Graph
Release History
There have been 21 releases of AF-Efan: