Logic free views
Mustache is a template system which lets you write logic free views using a simple syntax and plain jane Ruby. Check out the README on GitHub and try it out!
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Mustache is a template system which lets you write logic free views using a simple syntax and plain jane Ruby. Check out the README on GitHub and try it out!
Comments
Well, Mustache (a real good name by the way) is a really good idea. Too bad it seems limited to Html in the Readme, whereas it’s not !
Cool, but the definition of “logic” is a bit tuned. Those directives in the template that act like “if” statements seem like logic to me.
peterc: The logic lives in your Ruby code - you can’t tell just by looking at the template what’s going to happen. Nor can you change the outcome of a block by just tweaking the template. It’s all about the Ruby :)
It’s all about the Ruby :)
I smell a song!
Post a comment