The Pagination Builder / Database and Doctrine Setup

0 complete
10 parts

Level up your skills with a pro membership

Join pro and get immediate access to this course and our entire library
Start learning Already a member? Sign in and enjoy
Next →

1. Introduction and demo

02:59

2. Database and Doctrine Setup

06:27

3. Creating the builder

08:40

4. Meta object

07:43

5. Returning a results object

04:42

6. Page number algorithm

12:25

7. Tidying up our renderer with an abstract class

02:38

8. The page iterator and rendering links

13:36

9. Finishing up

01:51

10. Bonus: Keeping the query string

03:23

The Pagination Builder

  • 1 hour 4 mins
  • Released 1 month ago

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

Resources

No resources for this course