In order to avoid writing JavaScript code that manually generates HTML for dynamic pages (which is not only ugly, but not DRY at all), and having simplicity and elegance in mind (as opposed to performance), what are the advantages of using string based templates on the client, such as Mustache.js or Handlebars.js, retrieving json data and templates separately, over using a REST API that retrieves server-side rendered pieces of html?
I was under the impression that client-side templating was the best approach to keep it simple on dynamic pages, but after using it a bit I'm finding that maintaining a page like that is somewhat complex, and its main advantages are better performance and bandwidth usage, which are not generally my primary goals.