samedi 1 août 2015

Beter practice prepare html on backend or send data from backend to front end application

I have a sport matches list for every day. My goal is print this list on the web page by url http://ift.tt/1IAOQsK. All data about matches is saved in the database. I use Java Spring on server and AngularJS on web app. My question is which practice is better. Or prepare jsp file with html and send it when client do request or use AngularJS and get matches object from server by json format and then bind data to html template.




Aucun commentaire:

Enregistrer un commentaire