javascript - client side server side templating nodejs -
I'm using nodejs on a webapp. I was originally just going to the server side HBS template, but then I found out about the backbone for client side templates. I found out that if it can get data from the server, then display it using the HBS template, prepare and send the entire HTML page instead of the server side. But still I have read that some people suggest that it is not a good practice to get and display data for a webpage to make many AJAX calls in the client side, there will be many requests for the server, and The page will appear to be slow. So I am thinking that the general rule is how many requests can be made for one page? Should I Answer a Classic Request? Or should there be some client-side JavaScript that should receive and display data from the server?
Thank you
I have found that to render your template server side The best solution is and after that your backbone app is connected to the elements provided by the server. I use Z as my template engine, which allows me to reuse the template server-side and client-side. You should spend some time reading this if you decide what you want, install the app
I gave up The solution seems to be least royalty. You can read through code very quickly and get an idea behind the project. This is a bunch of different technologies, which have been brought together, which helps clients and server code to get the most out of reusability. Indraprastha performance is rude even when rendering on the server side. You can also get the additional benefit of progressive growth and solve any issues with SEO and single page apps.
Comments
Post a Comment