Skip to main content
added 99 characters in body
Source Link
candied_orange
  • 119.7k
  • 27
  • 233
  • 369

Pagination logic comes in two forms.

  • Data access
  • Presentation

If a DB is only capable of loading 1000 rows at a time you must not exceed that. But if your display can only handle 12 at a time...

What you need to do is express the paging requirements from where they each originate and accept that they don't all originate in one place.

Don’t assume the 12 row limitation of your presentation will protect the DB. Presentations change.

Pagination logic comes in two forms.

  • Data access
  • Presentation

If a DB is only capable of loading 1000 rows at a time you must not exceed that. But if your display can only handle 12 at a time...

What you need to do is express the paging requirements from where they each originate and accept that they don't all originate in one place.

Pagination logic comes in two forms.

  • Data access
  • Presentation

If a DB is only capable of loading 1000 rows at a time you must not exceed that. But if your display can only handle 12 at a time...

What you need to do is express the paging requirements from where they each originate and accept that they don't all originate in one place.

Don’t assume the 12 row limitation of your presentation will protect the DB. Presentations change.

Source Link
candied_orange
  • 119.7k
  • 27
  • 233
  • 369

Pagination logic comes in two forms.

  • Data access
  • Presentation

If a DB is only capable of loading 1000 rows at a time you must not exceed that. But if your display can only handle 12 at a time...

What you need to do is express the paging requirements from where they each originate and accept that they don't all originate in one place.