Programmer's Reference Guide

Zend Framework

2006-10-29


Table of Contents

1. Zend_Acl
1.1. Introduction
1.1.1. Creating the Access Control List (ACL)
1.1.2. Registering Access Request Objects (AROs)
1.1.3. Defining Access Controls
1.1.4. Querying the ACL
1.2. Refining Access Controls
1.2.1. Precise Access Controls
1.2.2. Removing Access Controls
1.3. Advanced Use
1.3.1. Storing ACL Data for Persistence
1.3.2. Traversing the ACL
1.3.3. Retrieving an ARO-Specific View of the ACL
1.3.4. Retrieving all AROs Having Access to an ACO
2. Zend_Controller
2.1. Overview
2.1.1. Introduction
2.1.2. Request Object
2.1.3. Route Process
2.1.4. Dispatch Process
2.1.5. Response Object
2.2. Getting Started
2.2.1. Introduction
2.2.2. Server Configuration
2.2.3. Bootstrap File
2.2.4. Directory Structure
2.2.5. Default Controller
2.3. Subclassing
2.3.1. Introduction
2.3.2. Conventions
2.3.3. Request Abstract
2.3.4. Router Interface
2.3.5. Dispatcher Interface
2.3.6. Action Controller
2.3.7. Response Object
2.4. Provided Subclasses
2.4.1. Introduction
2.4.2. Zend_Controller_Request_Http
2.4.3. Zend_Controller_RewriteRouter
2.4.4. Zend_Controller_Response_Http
2.4.5. Zend_Controller_Response_Cli
2.5. Plugins
2.5.1. Introduction
2.5.2. Writing Plugins
2.5.3. Using Plugins
3. Zend_Http
3.1. Zend_Http_Response
3.1.1. Introduction
3.2. Zend_Http Cookie Handling
3.2.1. Introduction
3.2.2. The Zend_Http_Cookie Class
3.2.3. The Zend_Http_Cookiejar Class
4. Zend_Service
4.1. Zend_Service_Delicious
4.1.1. Introduction
4.1.2. Retrieving posts
4.1.3. Zend_Service_Delicious_PostList
4.1.4. Editing posts
4.1.5. Deleting posts
4.1.6. Adding new posts
4.1.7. Tags
4.1.8. Bundles
4.1.9. Public data
5. Zend_Rest
5.1. Introduction
5.2. Zend_Rest_Client
5.2.1. Introduction
5.2.2. Responses
5.3. Zend_Rest_Server
5.3.1. Introduction
5.3.2. REST Server Usage
5.3.3. Calling a Zend_Rest_Server Service
5.3.4. Sending Custom Statuses
5.3.5. Returning Custom XML Responses
6. Zend_XmlRpc
6.1. Introduction
6.2. Zend_XmlRpc_Client
6.2.1. Introduction
6.2.2. Using parameters
6.2.3. Type hinting of parameters
6.2.4. Getting the response
6.3. Zend_XmlRpc_Server
6.3.1. Introduction
6.3.2. XML-RPC Server Basic Usage
6.3.3. XML-RPC Server Structure
6.3.4. Conventions
6.3.5. Utilizing Namespaces
6.3.6. Custom Request Objects
6.3.7. Custom Responses
6.3.8. Handling Exceptions via Faults
6.3.9. Caching Server Definitions Between Requests
6.3.10. Usage Examples
7. Zend_Server
7.1. Introduction
7.2. Zend_Server_Reflection
7.2.1. Introduction
7.2.2. Usage
A. Zend Framework PHP Coding Standard
A.1. Overview
A.1.1. Scope
A.1.2. Goals
A.2. PHP File Formatting
A.2.1. General
A.2.2. Indentation
A.2.3. Maximum Line Length
A.2.4. Line Termination
A.3. Naming Conventions
A.3.1. Classes
A.3.2. Interfaces
A.3.3. Filenames
A.3.4. Functions and Methods
A.3.5. Variables
A.3.6. Constants
A.4. Coding Style
A.4.1. PHP Code Demarcation
A.4.2. Strings
A.4.3. Arrays
A.4.4. Classes
A.4.5. Functions and Methods
A.4.6. Control Statements
A.4.7. Inline Documentation
B. Copyright Information
Index

List of Tables

1.1. Access Controls for an Example CMS
4.1. Methods for retrieving posts
4.2. Functions for retrieving public data
4.3. Methods of Zend_Service_Delicious_SimplePost class
6.1. PHP and XML-RPC Type Conversions
6.2. Zend_XmlRpc_Value object representing the XML-RPC types

List of Examples

3.1. Working with HTTP Response Data
4.1. Get all posts
4.2. Accessing post lists
4.3. Post editing
4.4. Method call chaining
4.5. Deleting posts
4.6. Adding a post
4.7. Tags
4.8. Bundles
4.9. Retrieving public data
5.1. A basic REST request
5.2. Response Status
5.3. Using Technorati's Rest Service
5.4. Example Technorati Response
5.5. Basic Zend_Rest_Server Usage - Classes
5.6. Basic Zend_Rest_Server Usage - Functions
5.7. Returning Custom Statuses
5.8. Return Custom XML
6.1. A basic XML-RPC request
6.2. Calling an XML-RPC service with type hinting