Zend Framework の紹介

 Learning Zend Framework


 Zend Framework リファレンス

  • 第36章 Zend_Gdata
  • 第37章 Zend_Http
  • 第38章 Zend_InfoCard
  • 第39章 Zend_Json
  • 第40章 Zend_Layout
  • 第41章 Zend_Ldap
  • 第42章 Zend_Loader
  • 第43章 Zend_Locale
  • 第44章 Zend_Log
  • 第45章 Zend_Mail
  • 第46章 Zend_Markup
  • 第47章 Zend_Measure
  • 第48章 Zend_Memory
  • 第49章 Zend_Mime
  • 第50章 Zend_Navigation
  • 第51章 Zend_Oauth
  • 第52章 Zend_OpenId
  • 第53章 Zend_Paginator
  • 第54章 Zend_Pdf
  • 第55章 Zend_ProgressBar
  • 第56章 Zend_Queue
  • 第57章 Zend_Reflection
  • 第58章 Zend_Registry
  • 第59章 Zend_Rest

  • 第60章 Zend_Search_Lucene
  • 第61章 Zend_Serializer
  • 第62章 Zend_Server
  • 第63章 Zend_Service
  • 第64章 Zend_Session
  • 第65章 Zend_Soap
  • 第66章 Zend_Tag
  • 第67章 Zend_Test
  • 第68章 Zend_Text
  • 第69章 Zend_TimeSync
  • 第70章 Zend_Tool
  • 第71章 Zend_Tool_Framework
  • 第72章 Zend_Tool_Project
  • 第73章 Zend_Translate
  • 第74章 Zend_Uri
  • 第75章 Zend_Validate
  • 第76章 Zend_Version
  • 第77章 Zend_View
  • 第78章 Zend_Wildfire
  • 第79章 Zend_XmlRpc
  • ZendX_Console_Process_Unix
  • ZendX_JQuery
  • Translation 70.6% Update 2010-11-28 - Revision 23415

    第11章 Getting Started with Zend_Paginator

    11.1. Introduction

    Let's say you're creating a blogging application that will be home to your vast collection of blog posts. There is a good chance that you do not want all of your blog posts to appear on one single page when someone visits your blog. An obvious solution would be to only display a small number of blog posts on the screen at a time, and allow the user to browse through the different pages, much like your favorite search engine shows you the result of your search query. Zend_Paginator is designed to help you achieve the goal of dividing collections of data in smaller, more manageable sets more easily, with more consistency, and with less duplicate code.

    Zend_Paginator uses Adapters to support various data sources and ScrollingStyles to support various methods of showing the user which pages are available. In later sections of this text we will have a closer look at what these things are and how they can help you to make the most out of Zend_Paginator.

    Before going in-depth, we will have a look at some simple examples first. After these simple examples, we will see how Zend_Paginator supports the most common use-case; paginating database results.

    This introduction has given you a quick overview of Zend_Paginator. To get started and to have a look at some code snippets, let's have a look at some simple examples.

    digg delicious meneame google twitter technorati facebook