About the paging problem of symfony2
怪我咯
怪我咯 2017-05-16 16:46:09
0
1
404

Can anyone give me some guidance? It’s really hard to figure out this paging myself. Please give me some answers.

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(1)
漂亮男人

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:

  1. KnpPaginatorBundle
  2. 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 ).

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template