News for hackers. Stuff that matters.
Re:Mustache templating system for PHP by mootothemax on Tuesday March 30, 2010 @08:02AM (#1228883)
I 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.

There are no comments on this comment yet.