Pagination

Pagination, also known as paging, is the process of dividing a document into discrete pages, either electronic pages or printed pages.

In reference to books produced without a computer, pagination can mean the consecutive page numbering to indicate the proper order of the pages, which was rarely found in documents pre-dating 1500, and only became common practice c. 1550, when it replaced foliation, which numbered only the front sides of folios.

Pagination in word processing, desktop publishing, and digital typesetting

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 as electronic pages 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 print

Today printed pages are usually produced by outputting an electronic file to a printing device, such as a desktop printer or a modern printing press. These electronic files may for example be Microsoft Word, PDF or QXD files. They will usually already incorporate the instructions for pagination, among other formatting instructions. Pagination encompasses rules and algorithms for deciding where page breaks will fall, which depend partly on cultural considerations about which content belongs on the same page: for example one may try to avoid widows and orphans. Some systems are more sophisticated than others in this respect. Before the rise of information technology (IT), pagination was a manual process: all pagination was decided by a human. Today, most pagination is performed by machines, although humans often override particular decisions (e.g. by inserting a hard page break).

Pagination in electronic display

A user viewing an electronic page on an eBook reading device, one of several devices that display electronic pages

"Electronic page" is a term to encompass paginated content in presentations or documents that originate or remain as visual electronic documents. This is a software file and recording format term in contrast to electronic paper, a hardware display technology. Electronic pages may be a standard sized based on the document settings of a word processor file, desktop publishing application file, or presentation software file. Electronic pages may also be dynamic in size or content such as in the case of HTML pages. When end-user interactivity is part of the user experience design of an electronic page, it is better known as a graphical user interface (GUI). The number and size of electronic pages in a document are limited by the amount of computer data storage, not by the display devices or amount of paper.

Most electronic pages are for either display (screen output) on a computer monitor or handheld device, or output to a printing device. PDF and some e-book file format pages are designed to do both. Most applications will print electronic pages without the need for a screen capture. However, not all software supports WYSIWYG printing of pages. Pages exclusively for screen output are more commonly known as screens, windows, interfaces, scenes, or cards. In the case of presentation software, electronic pages are known as slides.

In web browsers

Example of a pagination as part of a user interface of a web page

Electronic pages displayed on a web browser are often called web pages, regardless of whether they are accessed online via a web server on the World Wide Web, or stored locally offline. More accurately, such documents are named by the markup language that makes them displayable via a web browser, e.g. "HTML page".

With dynamic web pages, 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 within one web page. Pagination also includes the logic of preparing and displaying the links to the various pages.

Pagination can be handled client-side or server-side.

For client-side pagination, the content of each page is included in the HTML source code pre-loaded within the page, while server-side pagination requests each page individually upon navigation.

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 or CSS[1] 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 from the server which is loaded and inserted into the Document Object Model via AJAX.[2]

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, while client-side pagination allows navigating between pages without delay from a server request.

Correctly implementing pagination can be difficult.[3] 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.[4] Also ability to define the number of records displayed in a single page is useful.[5]

In comparison to bottomless scrolling, pagination allows skipping pages and can be implemented with permanent links (as done with the offset URL parameter in the MediaWiki wiki engine), whereas bottomless scrolling does not require clicking or tapping if loaded automatically.

In Database

Pagination is an approach used to limit and display only a part of the total data of a query in the database. Instead of showing hundreds or thousands of rows at the same time, the server is requested only one page (a limited set of rows, per example only 10 rows), and the user starts navigating by requesting the next page, and then the next one, and so on. It is very useful, specially in web systems, where there is no dedicated connection between the client and the server, so the client does not have to wait to read and display all the rows of the server.

Presentation vs. content

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 do not understand the topic enough to help build compliance. But the need to manually paginate has diminished as the technology for dynamic display and automatic pagination advances. Also, there is less need to make a hierarchical distinction between pagination in print and pagination in electronic display, because the same underlying content will most likely be used for the latter exclusively if not for both display methods.

See also

References

  1. ^ "Building a paginated listing with only HTML and CSS for Responsive Design". _Beacon – Main Site 2019.
  2. ^ Mikheev, Oleg (28 August 2007). "Ajax programming with Struts 2". JavaWorld. Retrieved 26 July 2020.
  3. ^ Baptiste, Lyndon (30 November 2007). "Perfect PHP Pagination". SitePoint. Retrieved 6 February 2009.
  4. ^ Gervasio, Alejandro (10 May 2005). "Previous or Next? Paginating Records with PHP – Part 3". DevShed. Archived from the original on 8 May 2017.
  5. ^ Nimesh, Rakhitha (21 August 2011). "Creating a PHP Pagination Library From Scratch". InnovativePhp. Archived from the original on 27 April 2016.

Read other articles:

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (سبتمبر 2018) فيديريكو جيراردي معلومات شخصية الميلاد 10 ديسمبر 1987 (العمر 35 سنة)بُردِنونة  الطول 1.84 م (6 قدم 1⁄2 بوصة) مركز اللعب مهاجم الجنسية إيطاليا  معلوما...

 

Questa voce sugli argomenti federazioni di rugby a 15 e Samoa è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Samoa Rugby Football UnionLogo Disciplina Rugby a 15 Fondazione1924 GiurisdizioneSamoa Nazione Samoa ConfederazioneWorld Rugby (dal 1988)Oceania Rugby Sede Apia Presidente Tuiloma Pule Lameko Sito ufficialewww.manusamoa.com/ Modifica dati su Wikidata · Manuale Samoa Rugby Union è l'organismo di governo del rugby a 15 a Samoa. L...

 

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (سبتمبر 2022) عبد السلام بن عارف معلومات شخصية الاسم الكامل عبد السلام بن عارف حديد العريمي الميلاد 8 مارس 1999 (العمر 24 سنة)الإمارات الطول 1.84 م (6 قدم 0 بوصة) مركز الل...

Sylan Sylan vanuit het oosten Hoogte 1762 m Coördinaten 63° 1′ NB, 12° 12′ OL Ligging Grens Zweden en Noorwegen Gebergte Scandinavisch Hoogland Portaal    Aardwetenschappen Sylan (Samisch: Bealjehkh, Zweeds: Sylarna) is een bergmassief op de grens van Noorwegen en Zweden in de provincie Sør Trøndelag en het landschap Jämtland. Het hoogste punt, Storsylen, ligt op 1762 meter boven de zeespiegel. Ten zuidoosten van het massief ligt Helagsfjället en ten westen bevind...

 

Henri II de Brabant Mariage d'Henri II et de Marie Von Hohenstaufen. Miniature par Jan van Boendale, Bibliothèque royale de Belgique. Fonctions Comte de Louvain,duc de Brabant,duc de Basse-Lotharingie 1235 – 1248(13 ans) Prédécesseur Henri Ier de Brabant Successeur Henri III de Brabant Biographie Dynastie Régnier - Brabant Date de naissance 1207 Date de décès 1er février 1248 Lieu de décès Louvain Père Henri Ier de Brabant Mère Mathilde de Boulogne C...

 

For the dance music act, see House of Prince (band). House of Prince A/STypeSubsidiaryIndustryTobaccoFounded1957; 66 years ago (1957) as Adler & Co.[1]FounderJulius AdlerHeadquartersDenmarkProductsCigarettesNumber of employees1,700 (2006)ParentBritish American Tobacco House of Prince A/S, is a Danish cigarette manufacturer. As Denmark's only cigarette manufacturer,[2] it was an independent subsidiary of Scandinavian Tobacco Company until its sale to Briti...

Ця стаття має кілька недоліків. Будь ласка, допоможіть удосконалити її або обговоріть ці проблеми на сторінці обговорення. Ця стаття потребує упорядкування для відповідності стандартам якості Вікіпедії. Будь ласка, допоможіть поліпшити цю статтю. Можливо, сторінка обгов

 

Keshogunan Kamakura鎌倉幕府Kamakura bakufu1192–1333 Mon Ibu kotaHeian-kyō(Istana Kaisar)Kamakura(Kediaman Shogun)Bahasa yang umum digunakanBahasa Jepang Abad Pertengahan AkhirAgama Shinbutsu-shūgō[1]Buddhisme Jepang[2]—Buddhisme Zen[3]—Jōdo Shinshū[3]—Buddhisme Nichiren[3]PemerintahanDiarki[a] kediktatoran militer feodal herditer[3]serta di bawah kabupaten herditer[5]Kaisar • 1183–1198 Go-Toba...

 

Vilfredo ParetoLahir(1848-07-15)15 Juli 1848Paris, PrancisMeninggal19 Agustus 1923(1923-08-19) (umur 75)SwissKebangsaanItaliaInstitusiUniversitas LausanneBidangEkonomi mikroMazhabUniversitas LausanneAlma materPoliteknik Torino Tanda tangan Vilfredo Federico Damaso Pareto ( Bahasa Italia: [vilˈfreːdo paˈreːto]; Nama lahir: Wilfried Fritz Pareto, 15 Juli 1848 – 19 August 1923), merupakan ahli ekonomi, insinyur, ahli sosiologi, pengamat politik, sekaligus seorang filsuf kebangsaa...

جغرافيا ماليزيامعلومات عامةالبلد ماليزيا القارة آسيا الحدود تايلاندبرونايإندونيسياسنغافورةالفلبين الأرض والتضاريسالمساحة 330٬803 كم² أعلى نقطة جبل كينابالو أدنى نقطة المحيط الهندي تعديل - تعديل مصدري - تعديل ويكي بيانات خريطة ماليزيا. تقع ماليزيا في منطقة جنوب شرق آسيا، ...

 

Mendocino Transit AuthorityHeadquarters241 Plant Rd. UkiahLocaleMendocino County, CaliforniaService typebus service, dial-a-busRoutes9Websitemendocinotransit.org The Mendocino Transit Authority (MTA) is a public bus system that serves Ukiah, the Mendocino Valley, and coastal regions of Mendocino County, California. MTA began service in 1976 under a joint powers agreement between the County of Mendocino and the cities of Fort Bragg, Point Arena, Ukiah and Willits.[1] Routes MTA operate...

 

Willem Eversdijck. Portret van Cornelis Fransz. Eversdijck. 1660-1666. Amsterdam, Rijksmuseum Amsterdam. Willem Eversdijck (Goes, tussen 1616 en 1620 – begraven Middelburg, 9 maart 1671) was een Nederlands schilder en tekenaar behorend tot de Hollandse School.[1] Hij was zoon van de schilder Cornelis Eversdijck en werd aanvankelijk door hem in Goes opgeleid. In 1633 was hij in Antwerpen leerling van Cornelis de Vos. In 1652 werd hij lid van het Sint-Lucasgilde in Middelburg, waar hi...

Several figures in Greek mythology For the genus of beetles, see Demonassa (beetle). In Greek mythology, Demonassa or Demonassae (Ancient Greek: Δημώνασσα) was a name attributed to five women. Demonassa, mother of Eurydamas and Eurytion, king of Phthia, by Irus.[1] Otherwise, Eurydamas parentage was given as Ctimenus from Dolopian Ctimene.[2] Demonassa, wife of King Poeas of Meliboea, by whom she bore Philoctetes.[3] Otherwise, the mother of the hero was calle...

 

Brazilian television series Planeta XuxaGenreGame showTalk showMusicDirected byMarlene MattosStarringXuxa MeneghelOpening themePlaneta Xuxa (1997-2002)Giro do Planeta (2001-2002)Conta Comigo (2002)Country of originBrazilOriginal languagePortugueseNo. of seasons7No. of episodes267ProductionProduction locationProjacRunning time1h50 minOriginal releaseNetworkTV Globo (1997-2002)Release5 April 1997 (1997-04-05) –28 July 2002 (2002-07-28)Related Xuxa Hits Xuxa no Mundo da Imagina...

 

British field marshal (1883–1950) Field MarshalThe Right HonourableThe Earl WavellGCB GCSI GCIE CMG MC PCSir Archibald Wavell in Major-General's uniformViceroy and Governor-General of IndiaIn office1 October 1943 – 21 February 1947MonarchGeorge VIPrime MinisterWinston Churchill (1943–45)Clement Attlee (1945–47)Preceded byThe Marquess of LinlithgowSucceeded byThe Viscount Mountbatten of BurmaMember of the House of LordsLord TemporalIn office28 July 1943...

Communes in southern Chile that are part of the Austral Region. The Austral wine region is one of the six official wine regions of Chile. The region is recognised by Decreto de Agricultura nº 464 of 14 December 1994, which established the regions and rules of origin.[1][2] Chilean wine using the label Austral must have at least 3/4 of its content made in the Austral Region. See also Osorno Steer References ^ Establece zonificación vitícola y fija normas para su utilizació....

 

Sheshatshiu Innu First NationBand No. 33PeopleInnuHeadquartersSheshatshiuProvinceNewfoundland and LabradorLand[1]Reserve(s)Sheshatshiu 3 Land area8.04 km2Population (2019)[1]On reserve1600On other land9Off reserve196Total population1805Government[1]ChiefEugene HartWebsitesheshatshiu.ca The Sheshatshiu Innu First Nation is located in the province of Newfoundland and Labrador, Canada. This First Nations band government is centred on the community of Sheshatshiu. The curr...

 

Educational project developed by WOKcraft This article is an orphan, as no other articles link to it. Please introduce links to this page from related articles; try the Find link tool for suggestions. (September 2023) World of KnowledgeTypeEducationFounded2009FounderErik BolinderWebsitewww.wokcraft.com World of Knowledge is a global Wikipedia inspired commercial project to enhance learning developed by company WOKcraft based on a community of users creating multiple choice questions for free ...

2012 American filmKiss of the DamnedTheatrical release posterDirected byAlexandra CassavetesWritten byAlexandra CassavetesProduced byJen GatienAlex OrlovskyStarring Joséphine de La Baume Milo Ventimiglia Roxane Mesquida Michael Rapaport Riley Keough Anna Mouglalis CinematographyTobias DatumEdited byTaylor GianotasJohn F. LyonsMusic bySteven HufsteterProductioncompaniesDeerjen Films VerisimilitudeBersin PicturesVenture ForthDistributed byMagnet ReleasingRelease dates September 7, 20...

 

Не плутати з Redmi A1. Xiaomi Mi A1(Xiaomi Mi 5X в Китаї) Xiaomi Mi 5XБренд XiaomiВиробник XiaomiГасло Знімайте ідеальною подвійною камероюСерія Mi A/MiСумісні мережі GSM, 3G, 4G (LTE)Дата представлення вересень 2017; 6 років тому (2017-09)[1]Наступник Xiaomi Mi A2Схожі моделі Xiaomi Redmi Note 4Тип СмартфонФор...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!