As mentioned in the comments, your question is too general, so I have to ask you a question first:
Question 1: Do you already understand what paging is?
The paging done by others is actually just to provide you with intuitive page navigation/total page display/jumping up and down pages after knowing the total number of records, page size and page number. Therefore, if you can break it down and patiently Handling record totals, page sizes, and page numbers is something you should probably be able to do yourself as well, or at least choose third-party code with more confidence.
Question 2: Do you want everyone to recommend some good paging tools? But this question relies on question three.
Then I recommend a few:
KnpPaginatorBundle
WhiteOctoberPagerfantaBundle
Question 3: Do you understand the Bundle concept of Symfony 2? This is equivalent to understanding Ruby’s gem and Python’s egg, etc.
If you want to add the required bundle by yourself (as mentioned in question 2), it is recommended to first understand the Bundle concept of Symfony 2: http://symfony.cn/docs/quick_tour/the... (This document corresponds to version 2.0.x ).
As mentioned in the comments, your question is too general, so I have to ask you a question first:
Question 1: Do you already understand what paging is?
The paging done by others is actually just to provide you with intuitive page navigation/total page display/jumping up and down pages after knowing the total number of records, page size and page number. Therefore, if you can break it down and patiently Handling record totals, page sizes, and page numbers is something you should probably be able to do yourself as well, or at least choose third-party code with more confidence.
Question 2: Do you want everyone to recommend some good paging tools? But this question relies on question three.
Then I recommend a few:
Question 3: Do you understand the Bundle concept of Symfony 2? This is equivalent to understanding Ruby’s gem and Python’s egg, etc.
If you want to add the required bundle by yourself (as mentioned in question 2), it is recommended to first understand the Bundle concept of Symfony 2: http://symfony.cn/docs/quick_tour/the... (This document corresponds to version 2.0.x ).