course

The Pagination Builder

Let's build PHP pagination from scratch, creating an algorithm to build page links, and a formatter to transform links into an HTML view.

Watch this course

1. Introduction and demo

02:59

2. Database and Doctrine Setup

06:27
  • Pro

3. Creating the builder

08:40
  • Pro

4. Meta object

07:43
  • Pro

5. Returning a results object

04:42
  • Pro

6. Page number algorithm

12:25
  • Pro

7. Tidying up our renderer with an abstract class

02:38
  • Pro

8. The page iterator and rendering links

13:36
  • Pro

9. Finishing up

01:51
  • Pro

10. Bonus: Keeping the query string

03:23
  • Pro
  • 1 hour 4 mins
  • Released 5 months ago

Related content

You might also like these

Slim 3 Pagination

  • 1 hour
  • Released 2 years ago
course
Pro only
Watch now Quick look

Better Vue pagination

  • 1 hour 2 mins
  • Released 1 year ago
course
Pro only
Watch now Quick look