Zend Framework手册 中文版

Zend Framework

2006-05-08


目录

1. Zend
1.1. 简介
1.2. Zend::loadFile()
1.3. Zend::loadClass()
1.4. Zend::loadInterface()
1.5. Zend::isReadable()
1.6. Zend::dump()
1.7. Zend::register()
1.8. Zend::registry()
2. Zend_Controller
2.1. 概述
2.1.1. 简介
2.1.2. Route Process 路由过程
2.1.3. Token对象
2.1.4. Dispatch Process 分配过程
2.2. 入门
2.2.1. 简介
2.2.2. 服务器设置
2.2.3. Bootstrap文件
2.2.4. 目录结构
2.2.5. IndexController
2.3. 子类化(继承)
2.3.1. 简介
2.3.2. 约定(规则)
2.3.3. Router 接口
2.3.4. Dispatcher 接口
2.4. 插件
2.4.1. 简介
3. Zend_Db
3.1. Zend_Db_Adapter
3.1.1. Introduction
3.1.2. Quoting Against SQL Injection
3.1.3. Direct Queries
3.1.4. Transactions
3.1.5. Inserting Rows
3.1.6. Updating Rows
3.1.7. Deleting Rows
3.1.8. Fetching Rows
3.2. Zend_Db_Select
3.2.1. Introduction
3.2.2. Columns FROM a Table
3.2.3. Columns from JOINed Tables
3.2.4. WHERE Conditions
3.2.5. GROUP BY Clause
3.2.6. HAVING Conditions
3.2.7. ORDER BY Clause
3.2.8. LIMIT By Count and Offset
3.2.9. LIMIT By Page And Count
3.3. Zend_Db_Table
3.3.1. Introduction
3.3.2. Getting Started
3.3.3. Table Name and Primary Key
3.3.4. Inserting Rows
3.3.5. Updating Rows
3.3.6. Deleting Rows
3.3.7. Finding Rows by Primary Key
3.3.8. Fetching One Row
3.3.9. Fetching Multiple Rows
3.3.10. Adding Domain Logic
3.4. Zend_Db_Table_Row
3.4.1. Introduction
3.4.2. Fetching a Row
3.4.3. Modifying Values
3.5. Zend_Db_Table_Rowset
3.5.1. Introduction
3.5.2. Fetching a Rowset
3.5.3. Iterating Through the Rowset
4. Zend_Feed
4.1. Introduction
4.2. Importing Feeds with Zend_Feed
4.3. Retrieving Feeds from Web Pages
4.4. Consuming an RSS Feed
4.5. Consuming an Atom Feed
4.6. Consuming a Single Atom Entry
4.7. Modifying Feed and Entry structures
4.8. Custom Feed and Entry Classes
5. Zend_Filter
5.1. Zend_Filter
5.1.1. 简介
5.1.2. 用例
5.2. Zend_Filter_Input
5.2.1. 简介
5.2.2. 运转原理
5.2.3. 用例
6. Zend_Http
6.1. 简介
6.2. 带有指定的HTTP头的基本 GET 请求
6.3. 发送请求到多个域名
6.4. 改变HTTP timeout时间
6.5. 动态指定HTTP Header
6.6. 构造 HTTP POST, PUT, 和 DELETE 请求
6.7. Zend_Http_Response
6.7.1. Introduction
6.8. Zend_Http_Response
6.8.1. Introduction
7. Zend_Json
7.1. 简介
7.2. 基本用法
7.3. JSON 对象
8. Zend_Log
8.1. 简介
8.2. 记录日志到单一的目标中
8.3. 日记级别
8.4. 高级的日志记录: 多记录器
9. Zend_Mail
9.1. 简介
9.2. 通过 SMTP 发送邮件
9.3. 通过 SMTP 连接发送多个邮件
9.4. 使用不同的Transport对象
9.5. HTML 邮件
9.6. 附件
9.7. 增加收件人
9.8. 改变 MIME 分界线
9.9. 增加邮件头信息
9.10. 字符集
9.11. 编码
9.12. SMTP 认证
10. Zend_Mime
10.1. 介绍
11. Zend_Pdf
11.1. Introduction.
11.2. Creating and loading PDF documents.
11.3. Save changes to the PDF document.
11.4. Document pages.
11.5. Drawing.
11.5.1. Geometry.
11.5.2. Colors.
11.5.3. Shape Drawing.
11.5.4. Text Drawing.
11.5.5. Using fonts.
11.5.6. Image Drawing.
11.5.7. Line drawing style.
11.5.8. Fill style.
11.5.9. Rotations.
11.5.10. Save/restore graphics state.
11.5.11. Clipping draw area.
11.5.12. Styles.
11.6. Zend_Pdf module usage example.
12. Zend_Search
12.1. Overview
12.1.1. Introduction
12.1.2. Document and Field Objects
12.1.3. Understanding Field Types
12.2. Building Indexes
12.2.1. Creating a New Index
12.2.2. Updating Index
12.3. Searching an Index
12.3.1. Building Queries
12.3.2. Search Results
12.3.3. Results Scoring
12.4. Query Types
12.4.1. Term Query
12.4.2. Multi-Term Query
12.4.3. Phrase Query
12.5. Character set.
12.5.1. UTF-8 and single-byte character sets support.
12.6. Extensibility
12.6.1. Text Analysis
12.6.2. Scoring Algorithms
12.6.3. Storage Containers
12.7. Interoperating with Java Lucene
12.7.1. File Formats
12.7.2. Index Directory
12.7.3. Java Source Code
12.7.4. Using LuceneIndexCreation.jar
13. Zend_Service
13.1. 简介
13.2. Zend_Service_Rest
13.2.1. Introduction
13.3. Zend_Service_Amazon
13.3.1. Introduction
13.3.2. 国家代码
13.3.3. 用ASIN来搜索指定的Amazon出版物
13.3.4. 对Amazon出版物的搜索
13.3.5. 另一个可选的查询 API
13.3.6. Zend_Service_Amazon 类
13.4. Zend_Service_Flickr
13.4.1. 对Flickr搜索的介绍
13.4.2. 查找 Flickr 用户
13.4.3. 获得 Flickr 图像详细资料
13.4.4. Zend_Service_Flickr 类
13.5. Zend_Service_Yahoo
13.5.1. 简介
13.5.2. 用Yahoo!来搜索网页
13.5.3. 用Yahoo!来查找图片
13.5.4. Finding Local Businesses and Services with Yahoo!
13.5.5. 搜索Yahoo! 新闻
13.5.6. Zend_Service_Yahoo 类
14. Zend_View
14.1. 简介
14.1.1. 控制器脚本
14.1.2. 视图脚本
14.2. 控制器脚本
14.2.1. 变量赋值
14.2.2. 调用视图脚本并打印输出
14.2.3. 视图脚本的路径
14.3. 视图脚本
14.3.1. 过滤输出
14.3.2. 模板系统
14.4. 视图协助器(View Helper)
14.4.1. 基本的协助器
14.4.2. Helper 的路径
14.4.3. 编写自定义的Helper类
15. Zend_XmlRpc
15.1. Introduction
15.2. Zend_XmlRpc_Client
15.2.1. Introduction
15.2.2. Using parameters
15.2.3. Type hinting of parameters
15.2.4. Getting the response
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. 版权信息
索引

表格清单

12.1. Zend_Search_Lucene_Field Types
13.1. Zend_Service_Amazon_Item 属性
13.2. Zend_Service_Amazon_Image 属性
13.3. Zend_Service_Amazon_OfferSet 属性
13.4. Zend_Service_Amazon_Offer 属性
13.5. Zend_Service_Amazon_SimilarProduct 属性
13.6. Zend_Service_Amazon_Accessories 属性
13.7. Zend_Service_Amazon_CustomerReview 属性
13.8. Zend_Service_Amazon_EditorialReview 属性
13.9. Zend_Service_Amazon_Listmania 属性
13.10. Zend_Service_Flickr_ResultSet 属性
13.11. Zend_Service_Flickr_Result 属性
13.12. Zend_Service_Flickr_Image 属性
13.13. Zend_Service_Yahoo_ResultSet
13.14. Zend_Service_Yahoo_LocalResultSet 属性
13.15. Zend_Service_Yahoo_Result Properties
13.16. Zend_Service_Yahoo_WebResult 属性
13.17. Zend_Service_Yahoo_ImageResult 属性
13.18. Zend_Service_Yahoo_LocalResult 属性
13.19. Zend_Service_Yahoo_NewsResult 属性
13.20. Zend_Service_Yahoo_Image Properties
15.1. PHP native values convertion to XML-RPC types
15.2. Zend_XmlRpc_Value object representing the XML-RPC types

范例清单

4.1. Putting Zend_Feed to Work on RSS Feed Data
4.2. Basic Use of an Atom Feed
4.3. Reading a Single-Entry Atom Feed
4.4. Using the Entry Object Directly for a Single-Entry Atom Feed
4.5. Modifying an Existing Feed Entry
4.6. Creating an Atom Entry with Elements of Custom Namespaces
4.7. Extending the Atom Entry Class with Custom Namespaces
6.1. 执行一个基本的 GET 请求
6.2. 创建一个基本的Zend_Http_Client
6.3. 发送多条header信息
6.4. 发送请求到多个域名
6.5. 用Zend_Http_Client发送POST 数据
6.6. Working with HTTP Response Data
6.7. Working with HTTP Response Data
9.1. 使用 Zend_Mail 发送简单邮件
9.2. 通过 SMTP 发送邮件
9.3. 通过 SMTP 连接发送多个邮件
9.4. 使用不同的Transport对象
9.5. 发送 HTML 邮件
9.6. 带附件的邮件
9.7. 改变 MIME 分界线
9.8. 增加邮件头信息
11.1. Create new or load existing PDF document.
11.2. Requesting specified revision of the PDF document.
11.3. Save PDF document.
11.4. PDF document pages management.
11.5. Create standard font.
11.6. Image drawing.
11.7. Zend_Pdf module usage demo.
12.1. Custom text Analyser.
13.1. 一个基本的 REST 请求
13.2. 用传统的API搜索Amazon
13.3. 使用Query API搜索来Amazon
13.4. 选择一个 Amazon Web Service 国家
13.5. 用ASIN来搜索指定的Amazon出版物
13.6. 对Amazon出版物的搜索
13.7. Search Amazon Using the Alternative Query API
13.8. 简单的 Flickr 照片搜索
13.9. 用email地址来查找Flickr用户
13.10. 获得 Flickr 图像详细资料
13.11. 用Yahoo!来搜索网页
13.12. 用Yahoo!来查找图片
13.13. 用Yahoo!查找本地商务和服务信息
13.14. 搜索Yahoo! 新闻
15.1. A basic XML-RPC request
15.2. Calling an XML-RPC service with type hinting