[EXTENSION] EMustache EMustache - Mustache templating for Yii
Posted 27 August 2012 - 11:42 AM
Just added my "emustache" extension here: http://www.yiiframew...sion/emustache/
It basically is a wrapper for the great mustache.php library. I tried to make the switch from classic php "templates" to mustache templates as easy as possible by using the exact same syntax as Yii does. Find more info at the extension page or the Github project page
ActiveResource for Yii - the RESTful equivalent to ActiveRecord | Neo4Yii - wrapper for the Neo4j graph database | EPhpThumb - a simple, lightweight wrapper for the phpThumb library
Circle me on Google Plus
Follow me on Twitter
Posted 30 October 2012 - 10:19 AM
Does this extension work with CActiveDataProvider for something like a list of items? If so, can you provide an example of how that might work? I see an example for a single model, but what if you wanted a list of models? Thanks for reading. I appreciate any help.
Posted 09 May 2013 - 04:44 AM
However, it was closed.
And I understand that there is enough on the plates of the Yii devs as it is right now.
Still, I feel that concentrating solely on the PHP community is a mistake..
What are your experiences using Mustache with Yii Haensel?
One of the benefits of Mustache is that it has support for 26 languages where Smarty and Twig is PHP only.
It also means that one could switch to Backbone.js either completely or partially, without touching the view templates at all ...
I wonder how easy it would be to port your extension to Yii2 ?