I would choose server side templating, because unless you find a JS library that handles the same templating language your code isn't going go be DRY In the home. Html template, I'd do something like %extends base. Html%> ... Html This way, for an AJAX request you just render the user_details.
Html partial only.
I would choose server side templating, because unless you find a JS library that handles the same templating language your code isn't going go be DRY. In the home. Html template, I'd do something like ... And keep the actual markup in _user_details.html.
This way, for an AJAX request you just render the _user_details. Html partial only.
You have two options: template on the server, or template in the browser. To template in the server, you create an endpoint much like you already have, except the template only creates a portion of the page. Then you hit the URL with an Ajax call, and insert the returned HTML somewhere into your page.To template in the browser, your endpoint creates a JSON response.
Then a Javascript templating library can take that JSON, create HTML from it, and insert it into the page. There are lots of jQuery templating solutions, for example.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.