Hi,
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
cheers,
Hannes
Page 1 of 1
[EXTENSION] EMustache EMustache - Mustache templating for Yii
#1
Posted 27 August 2012 - 11:42 AM
codecrumbs.at
My extensions:
ActiveResource for Yii - the RESTful equivalent to ActiveRecord | Neo4Yii - wrapper for the Neo4j graph database | EPhpThumb - a simple, lightweight wrapper for the phpThumb library
Get social:
Circle me on Google Plus
Follow me on Twitter
My extensions:
ActiveResource for Yii - the RESTful equivalent to ActiveRecord | Neo4Yii - wrapper for the Neo4j graph database | EPhpThumb - a simple, lightweight wrapper for the phpThumb library
Get social:
Circle me on Google Plus
Follow me on Twitter
#2
Posted 30 October 2012 - 10:19 AM
Hi Haensel,
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.
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.
#3
Posted 09 May 2013 - 04:44 AM
I have been pimping Mustache as a template engine for Yii2 here:
https://github.com/y...yii2/issues/187
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 means that one could develop and test Mustache templates using Javascript..
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 ?
https://github.com/y...yii2/issues/187
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 means that one could develop and test Mustache templates using Javascript..
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 ?
"Less noise - more signal"
Share this topic:
Page 1 of 1

Help














