Hi.
We are in process of making a web project, where, one of my friend suggest that sorting of data should be in possible with in client side. So that, n/w traffic can be reduce.
Now, this seems to be valid suggestion to me, but now my concern is, Do i need to embed sorting logic into a js file and send it along with data and now if user want to sort data, one of the function in js will do this job. This is how i think it should work. Is their any other way also? If you feel this is not valid suggestion, please put your reason too.
We will use struts2 for the project as web-app framework. Also, it would be nicer if you answer same question keeping in mind Node.js also ( :) ).
We are in process of making a web project, where, one of my friend suggest that sorting of data should be in possible with in client side. So that, n/w traffic can be reduce.
Now, this seems to be valid suggestion to me, but now my concern is, Do i need to embed sorting logic into a js file and send it along with data and now if user want to sort data, one of the function in js will do this job. This is how i think it should work. Is their any other way also? If you feel this is not valid suggestion, please put your reason too.
We will use struts2 for the project as web-app framework. Also, it would be nicer if you answer same question keeping in mind Node.js also ( :) ).
Comment