Client-side templating frameworks to streamline using jQuery with REST/JSON
Since posting this question, I have found many other templating options. I've listed many of them below. However, there was recently a jQuery templates proposal that may be the most promising solution yet. There is also a discussion about it on the jquery site. Here is the project location:
- https://github.com/nje/jquery/wiki/jquery-templates-proposal
Other solutions I've come across include (in no particular order):
- http://www.west-wind.com/weblog/posts/509108.aspx
- http://ejohn.org/blog/javascript-micro-templating/
- http://beebole.com/pure/
- http://archive.plugins.jquery.com/project/jTemplates
- http://archive.plugins.jquery.com/project/advancedmerge
- http://archive.plugins.jquery.com/project/tempest
- http://archive.plugins.jquery.com/project/jBind
- http://archive.plugins.jquery.com/project/cliche
- http://archive.plugins.jquery.com/project/appendDom
- http://archive.plugins.jquery.com/project/openSocial-jquery-templates
- http://archive.plugins.jquery.com/project/Orange-J
- http://archive.plugins.jquery.com/project/fromTemplate-microtemplate
- http://archive.plugins.jquery.com/project/resiglet
- http://archive.plugins.jquery.com/project/databind
- http://archive.plugins.jquery.com/project/jsont
- http://archive.plugins.jquery.com/project/domplate
- http://archive.plugins.jquery.com/project/noTemplate
- http://archive.plugins.jquery.com/project/jQueryHtmlTemplates
- http://github.com/trix/nano
- http://aefxx.com/jquery-plugins/jqote/
- http://ajaxian.com/archives/chainjs-jquery-data-binding-service
- http://ajaxpatterns.org/Browser-Side_Templating
- http://beebole.com/pure/
- http://code.google.com/p/google-jstemplate/
- http://code.google.com/p/trimpath/wiki/JavaScriptTemplates
- http://embeddedjs.com/
- Javascript template system - PURE, EJS, jquery plugin?
- jQuery templating engines
- http://goessner.net/articles/jsont/
Sounds like you want sammy.js
http://code.quirkey.com/sammy/
The tutorials there demo use of the template engine