TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Javascript Templating Engine Chooser

70 pointsby chunkyslinkabout 12 years ago

18 comments

jlongsterabout 12 years ago
It's also missing Nunjucks, which works in browser and server, can precompile templates (when done so is really fast), lets you do more logic in templates, has autoescaping, and a bunch of other stuff. Some big project like Mozilla's new Marketplace is using it.<p><a href="https://github.com/jlongster/nunjucks" rel="nofollow">https://github.com/jlongster/nunjucks</a>
评论 #5800514 未加载
Tornabout 12 years ago
It's missing DustJS, which is IMO a strong contender that does well in benchmarks<p><a href="http://linkedin.github.io/dustjs/" rel="nofollow">http://linkedin.github.io/dustjs/</a><p>* Works in the browser and on the server<p>* Pretty fast<p>* logic-less but with a helpers API for when you need more power<p>* pre-compiles templates<p>* has template partials
评论 #5801091 未加载
评论 #5799203 未加载
评论 #5801755 未加载
xinsightabout 12 years ago
Is there a way to deselect an option without reloading the page?<p>For example: Under "DOM Structure", once you select "DOM" or "String", you can never go back to seeing all the template options.
评论 #5800911 未加载
antimagicabout 12 years ago
Hmmm, I wonder about the reliability of the information, or perhaps reliability is not the right word, maybe completeness would be better.<p>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.
jtchangabout 12 years ago
This is just one of the reasons why I feel developing web apps has gotten harder. While there are a lot of javascript frameworks it is likely two projects pick different routes. It basically means if I need to maintain a project I will have to learn a new javascript library.
评论 #5799933 未加载
评论 #5799868 未加载
评论 #5801048 未加载
thezilchabout 12 years ago
Missing several from LinkedIn's throwdown: <a href="http://engineering.linkedin.com/frontend/client-side-templating-throwdown-mustache-handlebars-dustjs-and-more" rel="nofollow">http://engineering.linkedin.com/frontend/client-side-templat...</a>
tlrobinsonabout 12 years ago
I'd rather just see a matrix.
评论 #5799620 未加载
NKCSSabout 12 years ago
Nicely put together :) Might want to hide a feature if the selection makes no difference (re-show when it does have potential to make a difference).<p>Example: Both, Entirety, Fastest, Then it doesn't matter if you say precompiled yes or no.
mountaineerabout 12 years ago
Helpful to learn about the options, but as soon as I said it was for the client and has to be fast, there were no options remaining.
tapvtabout 12 years ago
Also, Swig.<p><a href="http://paularmstrong.github.io/swig/" rel="nofollow">http://paularmstrong.github.io/swig/</a>
wasdabout 12 years ago
I encourage you who have found missing frameworks to submit a pull request instead of posting a comment.
muyuuabout 12 years ago
Can't un-choose. If you choose in a particular department you cannot just take the choice away and it filters by it, forcing you to reload the page.
hayksaakianabout 12 years ago
No plain mustache.js<p>What kind of chooser is this?
jdkananiabout 12 years ago
No option remains for Both, logic-less and fast.
path411about 12 years ago
Really surprised knockoutjs isn't mentioned. It is the default templating engine in a default .NET MVC project.
评论 #5799925 未加载
freakezoidabout 12 years ago
jQote2 missing. In our benchmarks one of the fastest and a lot of features.<p><a href="http://aefxx.com/jquery-plugins/jqote2/" rel="nofollow">http://aefxx.com/jquery-plugins/jqote2/</a>
评论 #5801233 未加载
diliprayabout 12 years ago
Great work.
dmixabout 12 years ago
Unreadable font.