AF-Efan 0.0.4A library for integrating Embedded Fantom (efan) templates with the afBedSheet web framework.
afEfan is a Fantom afIoc 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 hopes 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 0.0.4 - 0.0"]
Documentation
Information
Meta information on the AF-Efan pod:
- Published by
- Steve Eynon
- Organisation
- Alien-Factory
- Pod file size
- 32.12 kB
- Licence
- BSD 2-Clause License
- Built on
- 20th Aug 2013
- Source code
- at https://bitbucket.org/AlienFactory/afefan
- Depends on
- afBedSheet, afIoc, compiler, sys, web
- Referenced by
- Javascript Compatible
- No
Dependency Graph
Release History
There have been 21 releases of AF-Efan: