Steering wheel with php, ios, android

I'm currently looking for a template engine. At the moment, I have an idea for two HandleBars and Mustache.

Mustache is the basic logic without using a language.

HandleBars matches the Mustache pattern. But only in JS.

I am working on a web application and a mobile application. I use PHP and IOS / Android, I see that Mustache have an implementation of each of them.

I know Handlebars are better than mustache compilation. But in my case should I use HandleBars or Mustache?

Or Mustache Pens?

I really lost it ...

Thank you for reading!

+4
source share
2 answers

If your only reason for using Handlebars is compilation, there is a compilation of Mustache implementations:

If you intend to use Handlebars extensions for Mustache syntax, there is also an implementation of Handlebars in PHP , and it seems to be fairly robust, but note that it is much slower than Mustache.php. I do not know about the implementation of Handlebars in Objective-C.

I personally sent the route Hogan.js + Mustache.php, but then I'm the author of Mustache.php, so I'm probably biased :)

+3
source

If you want to make full use of the cross-platform templates, I would go with a Mustache. There is a javascript Mustache implementation that can compile templates: Hogan.js .

0
source

All Articles