hopefuly an implementation of jquery template[1] for erlang/efene
[1] http://api.jquery.com/category/plugins/templates/
- 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
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
I don't want to push efene as a dependency, but as I said efene is awesome so go and check it out!
because it will be in the efene standard library and I'm really bad at names ;)
- 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