Javascript - Template Engine

Cybermaxs picture Cybermaxs · Sep 10, 2012 · Viewed 14k times · Source

Nowadays, we can find many JS templating engines like KnockOut, Mustache, Underscore, ... Can you please tell me what are the advantages of an architecture based upon theses engines ? and/or when to use them ? Is it better (maintainability, dev costs, reliability, ...) than generating all HTML from server-side ?

Is it a good architecture to expose feeds (rest service in json) and do some stuff on client side (micro templating) ?

Answer

Fatih Acet picture Fatih Acet · Sep 10, 2012

Linkedin has done great research, have a look at this page.