| Author |
compare serverside pagignation with client side pagignation
|
Ramesh Sengani
Greenhorn
Joined: Nov 23, 2011
Posts: 28
|
|
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.....
|
 |
Akhilesh Trivedi
Ranch Hand
Joined: Jun 22, 2005
Posts: 1351
|
|
|
Since you have added the word 'performance', i think anything that doesn't require a server or db hit should be good.
|
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
|
 |
Cole Terry
Ranch Hand
Joined: Nov 23, 2011
Posts: 45
|
|
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.
|
 |
Ramesh Sengani
Greenhorn
Joined: Nov 23, 2011
Posts: 28
|
|
|
thanks to all...........
|
 |
 |
|
|
subject: compare serverside pagignation with client side pagignation
|
|
|