KOstache ============ KOstache is a kohana module for using [Mustache](http://defunkt.github.com/mustache/) templates in your application. Mustache is a logic-less template class. It is impossible to embed logic into mustache files. Usage & Simple Example ----- View classes go in classes/view/ classes/view/example.php '', 'name' => '', 'value' => '', ); protected $_rules = array( 'name' => array('not_empty'), 'value' => array('not_empty'), ); } View: fetch_all() as $test) { $tests[] = $test->as_array(); } return $tests; } } Template: {{title}}

{{title}}

Here are all my {{things}}:

Controller: '', 'name' => '', 'value' => '', ); protected $_rules = array( 'name' => array('not_empty'), 'value' => array('not_empty'), ); } View: TRUE); public $thing_id = NULL; public $title = 'Testing'; public function thing() { return new Model_Test($this->thing_id); } } Template: {{title}}

{{title}}

This is just one thing:

{{thing.id}}

Controller: thing_id = $id; echo $view; } } // End Welcome For specific usage and documentation, see: [PHP Mustache](http://github.com/bobthecow/mustache.php) [Original Mustache](http://defunkt.github.com/mustache/)