digplanet beta 1: Athena
Share digplanet:


Applied sciences






















For other uses, see Pagination (disambiguation).

Pagination is the process of dividing (content) into discrete pages, either electronic pages or printed pages. Today the latter are usually simply instances of the former that have been output to a printing device, such as a desktop printer or a modern printing press. For example, printed books and magazines are created first as electronic files (for example, PDF or QXD files) and then printed. Pagination encompasses rules and algorithms for deciding where page breaks will fall, which depends on semantic or cultural senses of which content belongs on the same page with related content and thus should not fall to another (e.g., widows and orphans). Pagination is sometimes a part of page layout, and other times is merely a process of arbitrary fragmentation. The difference is in the degree of intelligence that is required to produce an output that the users deem acceptable or desirable. Before the rise of information technology (IT), pagination was a manual process, and print output was its sole purpose. Every instance of a pagination decision was made by a human. Today, most instances are made by machines, although humans often override particular decisions (such as by inserting a hard page break). As years go by, software developers continually refine the programs to increase the quality of the machine-made decisions (make them "smarter") so that the need for manual overrides becomes increasingly rare.

In reference to books made in the pre-IT era, in a strict sense of the word, pagination can mean the consecutive numbering to indicate the proper order of the pages, which was rarely found in documents pre-dating 1500, and only became common practice circa 1550, when it replaced foliation, which numbered only the front sides of folios.

Pagination in word processing, desktop publishing, and digital typesetting[edit]

Word processing, desktop publishing, and digital typesetting are technologies built on the idea of print as the intended final output medium, although nowadays it is understood that plenty of the content produced through these pathways will be viewed onscreen by most users rather than being printed on paper.

All of these software tools are capable of flowing the content through algorithms to decide the pagination. For example, they all include automated word wrapping (to obviate hard-coded newline delimiters), machine-readable paragraphing (to make paragraph-ending decisions), and automated pagination (to make page-breaking decisions). All of those automated capabilities can be manually overridden by the human user, via soft hyphens (that is, inserting a hyphen which will only be used if the word is split over two lines, and thus not shown if not), manual line breaks (which force a new line within the same paragraph), hard returns (which force both a new line and a new paragraph), and manual page breaks.

Pagination in web content[edit]

On the Internet, pagination is used for such things as displaying a limited number of results on search engine results pages, or showing a limited number of posts when viewing a forum thread. Pagination is used in some form in almost every web application to divide returned data and display it on multiple pages. Pagination also includes the logic of preparing and displaying the links to the various pages.

Pagination can be handled client-side or server-side. Server-side pagination is more common. Client-side pagination can be used when there are very few records to be accessed, in which case all records can be returned, and the client can use JavaScript to view the separate pages. By using AJAX, hybrid server/client-side pagination can be used, in which Javascript is used to request the subsequent page which is loaded and inserted into the Document Object Model via AJAX.[1]

Server-side pagination is appropriate for large data sets providing faster initial page load, accessibility for those not running Javascript, and complex view business logic.

Correctly implementing pagination can be difficult.[2] There are many different usability questions such as should "previous" and "next" links be included, how many links to pages should be displayed, and should there be a link to the first and last pages.[3] Also ability to define the number of records displayed in a single page is useful.[4]

Presentation vs. content[edit]

Today, all content, no matter which output medium is planned, predicted, or not predicted, can be produced with technologies that allow downstream transformations into any presentation desired, although such best-practice preparation is still far from universal. This usually involves a markup language (such as XML, HTML, or SGML) that tags the content semantically and machine-readably, which allows downstream technologies (such as XSLT, XSL, or CSS) to output them into whatever presentation is desired. This concept is known as the separation of presentation and content. This paradigm is now the conventional one in most commercial publishing, except to the extent that legacy and backward compatibility issues and budget constraints interfere, and to the extent that many of the people involved don't understand the topic enough to help build compliance. But it is no longer possible to make a hierarchical distinction between pagination in the print medium and pagination in the electronic medium, because print is merely an instance of presentation of the same underlying content.

See also[edit]


  1. ^ Mikheev, Oleg (28 August 2007). "Ajax programming with Struts 2". Network World, Inc. Retrieved 6 February 2009. 
  2. ^ Baptiste, Lyndon (30 November 2007). "Perfect PHP Pagination". SitePoint. Retrieved 6 February 2009. 
  3. ^ Gervasio, Alejandro (10 May 2005). "Previous or Next? Paginating Records with PHP – Part 3". Developer Shed. Retrieved 6 February 2009. 
  4. ^ Innovative, Php (3 February 2011). "PHP Pagination from Scratch". InnovativePhp. Retrieved 3 February 2011. 

Original courtesy of Wikipedia: http://en.wikipedia.org/wiki/Pagination — Please support Wikipedia.
This page uses Creative Commons Licensed content from Wikipedia. A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia.
19626 videos foundNext > 

PHP Pagination Tutorial MySQLi Google Style Paged Results Programming

Lesson Code: http://www.developphp.com/view.php?tid=1349 Learn to script pagination for PHP and MySQLi based web applications. Use pagination programming whe...

Jquery Pagination Tutorial plugin, Javascript pagination tutorial Plugin Simple pt.1/6

Jquery pagination tutorial, Javascript pagination tutorial, jquery page scroll, jquery plugin development. A simple jquery pagination plugin tutorial made fr...

Ajax Pagination Tutorial PHP MySQL Database Results Paged With JavaScript

Lesson Code: http://www.developphp.com/view.php?tid=1350 In this video lesson you can learn to program core Ajax pagination with PHP. We will not be using an...

Changing Pagination in MS Word

How to change the displayed page numbers in MS Word.

PHP: Pagination

How to setup a pagination system for your website that dynamically displays results from a database Follow me on Twitter: http://twitter.com/abell12youtube.

PHP Pagination | Part 1 - Main Workings

This lesson we go over the main workings and functionality of a PHP pagination system where we collect items from a database and display previous and next bu...

Pagination and SEO

Google's Maile Ohye examines the issues webmasters face with paginated content: paginated articles, product category listings, etc. She then explains the opt...

Advanced Jquery Pagination using Ajax and php - Introduction

In this tutorial series, lets learn how to do ajax pagination using php and jquery. We'll be using the skills we gained from my other tutorial on javascript ...

Simple / Basic Pagination / Navigation: PHP & MySQL

http://technotip.com/1808/simple-basic-pagination-navigation-php-mysql/ The Best and The most Simple Pagination / Navigation using PHP and MySQL.

Pagination Tutorial for PHP MySQL Programmers - Web Intersect Paging Database Results

Get the independent generic version of this tutorial in text tutorial form here: http://www.developphp.com/view_lesson.php?v=289 Web Intersect Source Code: h...

19626 videos foundNext > 

6045 news items

Wed, 22 Oct 2014 03:00:12 -0700

"I love writing pagination code!"...said no one ever. After what seems like the millionth time writing a list pager from scratch, we've come up with a handy generic class to plug in for .NET API projects. And by "we" I mean my colleague J2, I just use ...

Triad Business Journal (blog)

Triad Business Journal (blog)
Thu, 30 Oct 2014 14:11:15 -0700

... and not the real McCartney. And, after a little investigation, I have to agree. And in the end, the selfie I took, was equal to ... not much. Dale Edwards leads the design and pagination of the editorial content of the newspaper. Contact him at 336 ...

The Guardian

The Guardian
Mon, 20 Oct 2014 23:22:21 -0700

One cost-cutting measure is understood to be an average of 25% of reduction in the pagination across the titles, with the exact amount varying depending on the day of the week and title. The Sunday Express has already started to feel the cuts ...

blogs.hbr.org (blog)

blogs.hbr.org (blog)
Wed, 29 Oct 2014 14:33:45 -0700

Starting next week, HBR.org will look completely different. For more than a year, we've been hard at work designing and building a brand-new website, and we can't wait for you to see it. The new site isn't just a better-looking version of the HBR.org ...

Triad Business Journal (blog)

Triad Business Journal (blog)
Mon, 27 Oct 2014 09:07:30 -0700

Do you remember the Haunted Hotel in downtown Greensboro? Where are your favorite Triad Halloween haunts? We at Triad Business Journal are dying to know. Dale Edwards leads the design and pagination of the editorial content of the newspaper.

Search Engine Watch

Search Engine Watch
Wed, 22 Oct 2014 06:39:23 -0700

In addition, I noticed a number of sites impacted by both 4.0 and 4.1 that heavily used pagination to break up articles into many component pages (to gain more ad impressions). And I'm not talking about two or three pages of pagination. I'm talking ...
Mac Rumors
Mon, 27 Oct 2014 14:27:43 -0700

I like pagination and folders a lot more, it's just closer to how I think and how I mentally sort and find my apps. My games are on page 2, there you find folders like Arcade, Strategy, Action, Racing. My most commonly used ones are on page 1, some in ...

Joplin Globe

Joplin Globe
Wed, 22 Oct 2014 10:47:14 -0700

Patrick's tenure at the newspaper spanned the introduction of computers to the newsroom, the transition from a darkroom to digital photography, the use of the Internet and electronic pagination of the paper directly from computer to press. She became ...

Oops, we seem to be having trouble contacting Twitter

Support Wikipedia

A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia. Please add your support for Wikipedia!

Searchlight Group

Digplanet also receives support from Searchlight Group. Visit Searchlight