Browser side templates

Let’s move away from server side templates

Articles:

  • http://blog.pandaform.com/techie/browser-side-template-engines-roundup/
  • http://beebole.com/blog/pure/generate-html-from-a-json-without-any-template-but-html-and-javascript/
  • http://ajaxpatterns.org/Browser-Side_Templating
  • http://engineering.linkedin.com/frontend/client-side-templating-throwdown-mustache-handlebars-dustjs-and-more
  • Performance test - http://jsperf.com/javascript-templating-shootoff-extended/19
  • http://msdn.microsoft.com/en-us/magazine/hh882454.aspx

Alternatives:

  • http://ajax-pages.sourceforge.net/doc/5_min_tutorial.html
  • pure - http://beebole.com/pure/documentation/get-started/
  • jsRender & jsViews - https://github.com/BorisMoore/jsviews
  • dust.js - used by LinkedIn - http://akdubya.github.com/dustjs/
  • data binding
  • http://rivetsjs.com/ - publish/subscribe model
  • http://knockoutjs.com/ - include data-bind attributes in HTML