The challenge of pagination in web applications
programming
Pagination in web applications is a challenge.
Quoting Ashwin Bande at laravel - Is it better to paginate on the server side or front end? - Stack Overflow
It is A Tradeoff, each one has its own advantages and disadvantages.
For Server Side Pagination:¶
- your request time and data are reduced, as only a selected no of rows will be sent by the server.
- browser required less memory hence faster to process like filter, map, reduce etc.(only for one page)
For Client Side Pagination:¶
- As all data is present on client machine user can easily switch between back and forth.
- filter, search, map, reduce is possible on whole data.
- server get few requests as for search, filter, etc needed extra request and many iterations to the server.
My thoughts¶
Separate all pagination requirements into two kinds:
Last update :
16 octobre 2023
Created : 21 septembre 2023
Created : 21 septembre 2023