3 ms·
How are people using these JavaScript templating frameworks? What is the structure and flow of the application? They seem interesting but I don't yet totally
by markkanof 16y ago
How are people using these JavaScript templating frameworks? What is the structure and flow of the application? They seem interesting but I don't yet totally grasp what benefits they provide.
- sjs 16y agoThey're useful for doing more on the client than server. If your UI runs only on the client then you just have to write a web service to communicate with. You just take the V out of MVC, or you have views that simply emit JSON/XML/whatever. Most web pages would not benefit from this but many web apps can and do.
- tchvil 16y agoIn the case of a web app, the main benefit for me is you outsource the rendering of the HTML to the,usually idle, browser. Your server is freed to deliver only data. And for recurrent visitors. The logic(HTML, CSS, JS) is in the browser's cache. Then only data travel the network from the 2nd visit, freeing even more your server.