Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A Brief Introduction to PaginableCollections

A Brief Introduction to PaginableCollections

What is a paginable... is that even a thing?

In this short talk, we will take a look at PaginableCollections, and see why it is not a replacement for LINQ, but a set of abstractions to make pagination great again!

Avatar for Nicholas Myers

Nicholas Myers

October 17, 2017
Tweet

More Decks by Nicholas Myers

Other Decks in Programming

Transcript

  1. “What is a paginable… is that even a thing?” A

    Brief Introduction to PaginableCollections @neekgreen | Nicholas Myers
  2. PaginableCollections is a set of abstractions and extensions created to

    provide developers with a consistent way to paginate their data.
  3. { 2, 4, 5, 1, 6, 8, 2, 0, 4,

    3, 4, 1, 5, 9, 7, 0, 2, 4, 8, 9 }
  4. { 2, 4, 5, 1, 6, 8, 2, 0, 4,

    3, 4, 1, 5, 9, 7, 0, 2, 4, 8, 9 }      page 1      page 2      page 3      page n ...
  5. # Number Humanizer Previous Next 1 2 3 4 Showing

    7 to 12 of 20 entries Show entries 6 Binary 2 7 two 0010 0 8 zero 0000 4 9 four 0100 3 10 three 0011 4 11 four 0100 1 12 one 0001
  6. # Number Humanizer Previous Next 1 2 3 4 Showing

    7 to 12 of 20 entries Show entries 6 Binary 2 7 two 0010 0 8 zero 0000 4 9 four 0100 3 10 three 0011 4 11 four 0100 1 12 one 0001
  7. # Number Humanizer Previous Next 1 2 3 4 Showing

    7 to 12 of 20 entries Show entries 6 Binary 2 7 two 0010 0 8 zero 0000 4 9 four 0100 3 10 three 0011 4 11 four 0100 1 12 one 0001 ItemCountPerPage PageNumber ItemNumber TotalItemCount Items Pager*
  8. { 2, 4, 5, 1, 6, 8, 2, 0, 4,

    3, 4, 1, 5, 9, 7, 0, 2, 4, 8, 9 }
  9. { #, #, #, #, #, #, #, #, #,

    #, #, #, #, #, #, #, #, #, #, # } { "name": "Moreno Chen", "email": "[email protected]", "phone": "+1 (969) 428-2122" } { "name": "Gilbert Bauer", "email": "[email protected]", "phone": "+1 (932) 570-2980" }