In which cases would I prefer a templating engine rather than letting the client render the page?