Home > fnt---efene-templates

fnt---efene-templates

Fnt---efene-templates is a project mainly written in ERLANG and PYTHON, based on the View license.

jquery templates for erlang/efene

fnt - efene template

hopefuly an implementation of jquery template[1] for erlang/efene

[1] http://api.jquery.com/category/plugins/templates/

why it's awesome?

  • compile to erlang bytecode
  • uses io lists (no string concatenation)
  • write your templates once, run them in the server and the browser
  • jquery templates awesomeness
  • erlang/efene awesomness

is it everything awesome?

nope

  • work in progress

  • currently supports

    • if/else
    • each
    • html
    • ${}
  • to implement

    • tmpl
    • wrap
  • needs tests

    • to check compliance with js semantics
    • to check that we get the same results as jquery-tmpl
    • to check that it works in all cases

hey! aren't you the efene guy? why is it in erlang then?

I don't want to push efene as a dependency, but as I said efene is awesome so go and check it out!

so... why is it called efene template if it's written in erlang?

because it will be in the efene standard library and I'm really bad at names ;)

more resources

  • Website and documentation: http://marianoguerra.com.ar/fnt
  • Tutorial: http://marianoguerra.com.ar/fnt/tutorial.html
  • Blog: http://efene.tumblr.com
  • Central git repo: http://github.com/marianoguerra/fnt---efene-templates
Previous:charm