Making direct front-end paging with these libraries is a bad thing
practice? Why?
In no way is it a bad practice. It all depends on the amount of data to be recovered from the server. This should be your guide when evaluating pagination client or server side.
Do not believe when you are told that server side is always the best option, because if the amount to be recovered from the server is not large, So why complicate your life by having to implement Hibernate paging if you can delegate it to a library like this one or several others? The jqGrid library, for example, works very well with both options.
If the system consists of several tables of registration, then for those that must display few data (eg: < 100 records), use the pagination on the client side. You will be well served and avoid server-side code.
In addition, client-side paging avoids requests, as a pagination server side requires at least one request for each requested page.
These actions can hinder the performance of my system?
They can get in the way if you delegate a lot of data to the customer. Note that to paginate on the client side it is necessary that you have all the data loaded into the client’s memory, therefore you need to recover them on the server. Depending on the amount of data, this may take time and make the system slow down for the user.
If it’s too much information, and the user usually uses just the first page, you’ll always be carrying a lot more information than you need. If it is little information, and/or usually the user needs almost all of the pagination, it may compensate for the savings of requests. As usual, the magic answer is: depends on!
– Bacco