I am currently developing a PHP site that I plan to use with Mustache PHP so that I can use the same mustache template files with my PHP rendering, as well as with my javascript (ajax driven) updates. After searching around, I could not find the equivalent handlebars.js library for PHP, although I would prefer to use rudders for everything.
I decide whether to use Ember.js or Backbone.js. I know that Ember uses descriptors, and these descriptors use syntax and functions that are not in the mustache.js file on which it is based. I also understand that handlebars.js works great with mustache templates.
I tend to Ember, and I am ready to develop and update Mustache PHP to work with Handlebars.js, if necessary.
But first of all, will Ember.js work with direct mustache patterns? Or does using Ember correctly also involve using template functions supported only by handles?
If I need to unlock the PHP library, what are the main steering functions that I will experience first to add?
Thanks in advance, this will really help me decide if I should use Ember.js.
source share