Forums Register Login

compare serverside pagignation with client side pagignation

+Pie Number of slices to send: Send
Hi,

I worked with two apis 1) display tag and 2) Jquery datatables

Display tag fetch page size data each time from database and showing in jsp page. while Jquery datatable fetch all data at one time and store in Java script array and showing from them.

I am confuse which is better , based performance?

thanks in advance.....





+Pie Number of slices to send: Send
Since you have added the word 'performance', i think anything that doesn't require a server or db hit should be good.
1
+Pie Number of slices to send: Send
which is better depends on the amount of the data that is sent to the client:
- if the amount of data is small, using JQuery is better.
- if the amount of data is big, using serverside pagination is better.
+Pie Number of slices to send: Send
thanks to all...........
Skool. Stay in. Smartness. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 756 times.
Similar Threads
Pagination error in displaytags
JSP and JDBC
Emulating Scrollbar behaviour
form updating using jsp
Can AJAX be used to dynamically update any scoped variable storing a list of objects
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 08:31:49.