Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vrkansagara/codeignitermustache

A Mustache implementation in CodeIgniter. http://mustache.github.io/
https://github.com/vrkansagara/codeignitermustache

Last synced: 2 days ago
JSON representation

A Mustache implementation in CodeIgniter. http://mustache.github.io/

Awesome Lists containing this project

README

        

# CodeIgniterMustache
A Mustache implementation in CodeIgniter. http://mustache.github.io/

Copy Past `Mustache` folder in application/library/

Make Mustache autoloading
open application/config/autoload.php and add $autoload ['libraries'] = array ('Mustache');
that's it.

Now change your view rendering from $this->load->view() to $this->mustache->view().

#### Mustache Variable supporting in view as bellow
{{site.url}} print site url equivalent to base_path() in php
{{site.name}} print project name
{{{form.open}}} print form tag in html
{{{form.validation.errors}}} print form errors in html

####This list is on going for improvement.