Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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/
- Host: GitHub
- URL: https://github.com/vrkansagara/codeignitermustache
- Owner: vrkansagara
- License: mit
- Created: 2015-07-04T14:03:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-05T03:09:17.000Z (over 9 years ago)
- Last Synced: 2024-05-01T15:42:24.165Z (7 months ago)
- Language: PHP
- Size: 129 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.