Putting the View on the Client (Yes, you have one. It's the browser, silly!)
1) Do not use server-side templating to create the web page
2) Use a classical and simple client-server model, where the client runs in the browser.
3) Separate concerns using protocol between client and server and get a much more efficient and less costly development model.