3 ms·
Hrm, I can't say I'm that excited by this; does it have any advantages over Smarty or any of the other template systems out there? Edit: Although I must confes
by mootothemax 17y ago
Hrm, I can't say I'm that excited by this; does it have any advantages over Smarty or any of the other template systems out there?
Edit: Although I must confess I like the name, new Mustache() indeed!
- j_baker 17y agoI think it's more about what it can't do than what it can. The main page claims that the templates are "logic-less". There's some benefit to that from a strictly MVC standpoint.
- mootothemax 17y agoI guess the code's author has an interesting take on logic, because one of the examples contains an if statement: Hello {{name}} You have just won ${{value}}! {{#in_ca}} Well, ${{taxed_value}}, after taxes. {{/in_ca}} Admittedly, it's a bit obfuscated but whatever way you look at it, it's still logic in the view file.