Javascript Templating Engine Chooser
garann.github.io
garann.github.io
http://linkedin.github.io/dustjs/
* Works in the browser and on the server
* Pretty fast
* logic-less but with a helpers API for when you need more power
* pre-compiles templates
* has template partials
For example: Under "DOM Structure", once you select "DOM" or "String", you can never go back to seeing all the template options.
http://xinsight.github.io/template-chooser/
This is a simple little app, but it's a good example of how using the DOM as a model and a view (as most jquery apps do) doesn't create the most elegant code.
I don't know who Garann is, and I don't use Javascript templating, and yet just by playing with the options on the page I was able to predict that Garann is using with dot.js. A quick Google then confirmed the hypothesis, which makes me think that the options that are available are aimed quite specifically at Garann's use case, and might not be generally applicable.
Would you rather learn some (hopefully) very well worked-out library with good documentation and all the edge-cases slaved over, with multiple contributors, with Stack Overflow questions about it ... or, would you like to learn some random guy's non-library library, because he was scared of libraries, so he just made up a load of ad-hoc conventions in his codebase.
I'd rather learn to use Backbone, Angular and Ember, than have to deal with big-ball of mud code based on no library in particular. Same goes for templating libraries, I'd rather learn a handful (after all they're relatively trivial to use), than come to a codebase that uses none at all.
Come back in 3 years. It'll have settled down.
Maybe I want some subset of features that aren't available together but I'm willing to compromise on one or more of them.
Example: Both, Entirety, Fastest, Then it doesn't matter if you say precompiled yes or no.
What kind of chooser is this?