AF-Efan 1.3.0
A 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.

Efan 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!

Read more...

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.

afEfan.pod (40.39 kB)

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.0 - 1.3"]

Documentation

Information

Meta information on the AF-Efan pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
40.39 kB
Licence
BSD 2-Clause License
Built on
15th Oct 2013
Source code
at https://bitbucket.org/AlienFactory/afefan
Depends on
afPlastic, concurrent, sys
Referenced by
Javascript Compatible
No

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 21 releases of AF-Efan: