retlehs/roots — Issue #222: Ginger Roots - Roots with Mustache
Author: gingerlime
Created: 2012-01-13 15:38:44+00:00
State: open

I mentioned this briefly on #209, but I thought I should try to spread the word around, see if anybody's interested in this direction.

Roots is a great theme, and it immediately felt good to use. It introduced some very neat changes to the way things are done with Wordpress, most of which I had similar thoughts about.

However, regardless of how amazing any theme is, and how organized the php code might be, when it comes to the presentation layer itself - the templates that get displayed to the user, I always felt PHP is just too messy. Mixing presentation and logic was always a little annoying (escaping characters inside echo etc). So when I bumped into [{{Mustache}}](http://mustache.github.com/) a few months ago, I really wished there was a wordpress theme using Mustache. Then when I figured out there isn't any, I decided I should try to build one myself. Or adapt an existing theme.

The end result is [Ginger Roots](https://github.com/gingerlime/ginger-roots) - a roots fork with Mustache support. All templates can be edited using a .mustache file. Would be great if this is adopted and becomes part of Roots, but I realise not everyone would immediately jump on the idea. I would appreciate any feedback or suggestions regardless. It is still very fresh and probably has lots of bugs, but at least it's at a point where all base .php templates were converted and have a .mustache counterpart.

Cheers
Yoav

p.s. just a quick thank-you to creators of Roots and to the fantastic help I got from @bobthecow on the Mustache.php project.