My current project has friendly urls throughout.
I have a requirement for pagination on some sections.
For example, there is a section for company profiles that may consist of several pages for each profile.
The urls would look something like this:
company-profiles/some-company/
company-profiles/some-company/products/
company-profiles/some-company/business-model/
company-profiles/some-company/growth-prospects/
etc.
Some profiles could extend up to many tens of pages.
Another fly in the ointment is that "company-profiles/some-company/" is in 1 table and contains the overview. The rest of the pages are in another related table.
I’m surprised I couldn’t find an existing solution because I would imagine it’s quite a common requirement, but every other pagination solution I have encountered relies on GET (or POST) parameters with something like ?page=2.
So my questions are, has anyone done this before with Yii and if not, what kind of demand is there for this type of pagination?
I have created a working solution but it’s very specific to my project and needs more work for production.