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.
20478 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...

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...

how to create paging,pagination in php and display 10 records per page in php

using this tutorial you can easily understand that how paging created in php.

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.

Changing Pagination in MS Word

How to change the displayed page numbers in MS Word.

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...

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...

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 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...

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 ...

20478 videos foundNext > 

170578 news items

The Guardian

The Guardian
Tue, 27 Jan 2015 03:14:23 -0800

“When you go into a seasonal slowdown, pagination tends to be kept reasonably tight as advertising volumes increase,” he said. “We now have a dedicated sales person working on the title. We would expect ad volumes to increase in the near future as a ...

Index On Censorship

Index On Censorship
Thu, 22 Jan 2015 04:11:15 -0800

Does The Sun's Page 3 still exist? The paper's pagination remains, humble but resolute: the very best in British pagination. As surely as curry follows beer on this sceptered isle, the nation's favourite newspaper will have a third page, facing the ...
National Review Online (blog)
Thu, 15 Jan 2015 08:30:00 -0800

Finally, I'd note that the National Association of Mutual Insurance Companies submitted excellent testimony on this issue at November 2013 Congressional hearings, which can be read here (starting at page 110 in the hard-copy pagination). Here's hoping ...
Wed, 14 Jan 2015 07:22:30 -0800

GateHouse will oversee design and pagination of the pages in coordination with AP. They will be distributed through AP's delivery systems in Adobe InDesign, Adobe Illustrator and PDF formats. “AP newspapers and their readers and advertisers will ...

Prolific North

Prolific North
Tue, 04 Nov 2014 07:37:16 -0800

The Scarborough Review has increased pagination and print run after being bought out by York publisher Your Local Link. Editor Pete Spence launched the title last year as a 32-page tabloid but after agreeing a deal with Your Local Link – which ...
The Caledonia Argus (subscription)
Tue, 13 Jan 2015 07:00:00 -0800

As of the pagination of this week's issue, the suspects remained in custody at the Houston County Jail, but had not yet been charged as the investigation is ongoing. “With the recent burglaries in the area, please be watchful of your property as well ...
Mon, 21 Apr 2014 12:50:11 -0700

It's a “freemium” pay model, or a “reverse paywall,” that adds features for subscribers rather than substracting them for nonsubscribers. But it still creates classes of haves and have-nots: those who have to click the “single page” button to see a ...
Slate Magazine
Mon, 01 Oct 2012 15:10:53 -0700

Pagination is one of the worst design and usability sins on the Web, the kind of obvious no-no that should have gone out with blinky text, dancing cat animations, and autoplaying music. It shows constant, quiet contempt for people who should be any ...

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