
Zend Framework 官方中文文档和使用指南
5星
- 浏览量: 0
- 大小:None
- 文件类型:CHM
简介:
这是一个Zend框架类和接口的概述文档,涵盖了许多核心组件及其功能:
1. **数据转换**
- `XlsToXml`:将Excel文件转换为XML格式。
2. **业务逻辑处理**
- `BusinessLogic`:提供基础的业务逻辑方法。
- `CustomBusinessLogic`:允许自定义的业务逻辑实现。
3. **响应类型控制**
- `ResponseType`:限制返回的数据类型的组件,如:
- `Boolean`
- `Date`
- `DateTimeLocal`
- `Double`
- `Int64`
- `String`
4. **数据验证**
- 提供多种校验器(Validator),例如:
- `Ccnum`:用于验证国家代码。
- `Alnum`、`Alpha`等,分别用于验证字符组合。
5. **文件操作**
- `FilesystemHelper`:提供文件系统的辅助方法。
6. **DOM操作与HTML处理**
- `XmlRpcHelper`:支持DOM操作和HTML内容的解析。
- `XmlValidatorHelper`:用于XML/DCOM验证。
7. **日志与统计**
- `LogHelper`:提供日志记录功能。
8. **URL管理**
- `Uri`:处理URI对象,支持创建、操作和验证。
9. **数据校验链(Checklist)**
- 用于构建复杂的校验逻辑。
10. **版本控制**
- 获取Zend框架的当前版本信息。
11. **视图与模板系统**
- `Zend_View`:提供标准视图脚本功能。
- 支持自定义视图助手和模板系统的扩展。
12. **XML-RPC支持**
- `Zend_XmlRpc`组件:
- 定义XML-RPC服务。
- 实现客户端与服务器之间的通信。
13. **数据绑定**
- 提供数据库绑定功能,支持多种存储引擎。
14. **日志记录**
- 实现标准的J2CL(Java 2 Class Loadable)日志接口。
15. **扩展组件**
这些类和接口构成了一个强大的框架,能够处理从数据转换到业务逻辑实现再到API开发的各项任务。
第2章节下的一份cms实例的权限管理 第3章中的配置参数设置 第4章包含了七个模块的具体实现细节 首个模块具体包括了核心前端组件的配置选项 随后是函数部分和类别的前段配置项 然后依次是文件系统操作相关的前后端配置 之后分别对sqlite数据库以及memcached缓存层进行了详细的技术描述 第5章介绍了一个基于zend framework的在线支付系统的开发架构 8.1节为币种展示相关的基本参数设置 随后是币种位置的配置规则 第9章涵盖了与日期和时间相关的各种操作功能 包括基础运算 比较方法 输出格式等 9.2至9.5节分别讨论了不同输出格式的具体实现方法 以此类推 详细描述了与小时相关函数的各种操作细节 第10至14节则分别对日、周、月、年以及时间常量进行了深入的技术说明 在第16节中进一步细化了关于时区转换的处理逻辑 第17至23节详细解析了日期格式和时间格式的具体实现方法 9.15及以下小节特别针对不同语言环境下的输出标准进行了专门描述 第18节则对日出日落时间的各种计算方式进行了系统性的技术说明 第17章具体分析了socket适配器配置参数的设置方案以及http客户端的基本操作规范 21.1至23.1节分别详细描述了Zend翻译工具各主要组件的功能特点和使用方法 范例部分则为实际应用提供了丰富的参考材料
第23章概述了一个基于在线邮件服务功能的实现框架 第24章介绍了如何配置邮件存储目录以满足不同用户的需求 30.1节对一个支持测量各种对象大小的lucene字段类进行了详细的技术解析 第32至49小节均围绕着亚马逊生态系统中的核心组件展开描述 包括商品属性、图片展示、促销信息等模块的具体功能实现 以及相似产品推荐、辅助服务和客户评价等功能的详细配置方法
第18章深入探讨了日出时间计算的各种算法及其适用场景 第24节则对与邮件相关的各种操作规范进行了系统性的技术说明 系统性地分析了不同组件之间的交互机制及业务流程处理方式 9.3至9.5小节分别详细描述了日期和时间运算、比较以及格式输出的相关方法2.1. 角色之间的多重继承
3.1. 修改 Session 名字空间
3.2. 使用定制存储类
3.3. 基本用法
4.1. 调用 Zend_Cache::factory()取得一个前端
4.2. Caching a database query result
4.3. 用Zend_Cache 输出前端缓存输出
5.1. 使用 Zend_Config 本身
5.2. Using Zend_Config with a PHP Configuration File
5.3. 使用 Zend_Config_Ini
5.4. 使用Zend_Config_Xml
6.1. 使用短语法
6.2. 使用长语法
6.3. 捕捉 Getopt 异常
6.4. 使用 getOption()
6.5. 使用 __get() 和 __isset() 魔术方法
6.6. 使用 getRemainingArgs()
6.7. 使用 addRules()
6.8. 使用 setHelp()
6.9. 使用 setAliases()
6.10. 使用 addArguments() 和 setArguments()
6.11. 使用 setOption()
6.12. 使用 setOptions()
7.1. 如何处理不存在的动作
7.2. 用动作、控制器和模块名来添加一个任务
7.3. 使用请求对象添加一个任务
7.4. AutoCompletion with Dojo Using Zend MVC
7.5. 允许动作响应 Ajax 的请求
7.6. 设定选项
7.7. 使用默认设定
7.8. 使用goto()的_forward()API
7.9. 通过gotoRoute()使用路由组装(route assembly)
7.10. 基本用法
7.11. 禁用自动解析
7.12. 选择另外的视图脚本
7.13. 修改注册的视图Modifying the registered view
7.14. 修改路径规则
7.15. 一个动作中解析多个视图脚本
7.16. Standard usage
7.17. Setting a different error handler
7.18. Using accessors
8.1. 从实际地方创建 Zend_Currency 的实例
8.2. 创建 Zend_Currency 实例的其它例子
8.3. 为货币创建输出
8.4. 修改货币的显示格式
8.5. 从货币中获取信息
8.6. 设置新地方
8.7. 缓存货币
9.1. Setting a default timezone
9.2. Creating the current date
9.3. get() - output a date
9.4. set() - set a date
9.5. add() - adding dates
9.6. compare() - compare dates
9.7. equals() - identify a date or date part
9.8. User-specified input date format
9.9. Operating on Parts of Dates
9.10. Date creation by instance
9.11. Static date creation
9.12. Quick creation of dates from database date values
9.13. Convenient creation of dates from database date values
9.14. Date creation by array
9.15. Example usage for self-defined ISO formats
9.16. Example usage for self-defined formats with PHP specifier
9.17. Checking dates
9.18. Getting all available cities
9.19. Getting the location for a city
9.20. Calculating sun informations
9.21. Working with timezones
9.22. Multiple timezones
10.1. Creating a SQL statement object with query()
10.2. Using a SQL statement constructor
10.3. Executing a statement with positional parameters
10.4. Executing a statement with named parameters
10.5. Using fetch() in a loop
10.6. Using fetchAll()
10.7. Setting the fetch mode
10.8. Using fetchColumn()
10.9. Using fetchObject()
10.10. Fetching a Dependent Rowset
10.11. Fetching a Dependent Rowset By a Specific Rule
10.12. Fetching a Dependent Rowset using a Zend_Db_Table_Select
10.13. Fetching Dependent Rowsets using the Magic Method
10.14. Fetching the Parent Row
10.15. Fetching a Parent Row By a Specific Rule
10.16. Fetching the Parent Row using the Magic Method
10.17. Fetching a Rowset with the Many-to-many Method
10.18. Fetching a Rowset with the Many-to-many Method By a Specific Rule
10.19. Fetching Rowsets using the Magic Many-to-many Method
10.20. Example of a Cascading Delete
10.21. Example Declaration of Cascading Operations
11.1. dump()方法使用示例
12.1. 捕捉一个异常的例子
13.1. 用Zend_Feed来处理RSS Feed数据
13.2. Atom Feed的基本用法
13.3. 读取Atom Feed的单个条目
13.4. 用条目对象直接访问Atom Feed的单个条目
13.5. 修改一个已存在的条目
13.6. 用自定义的命名空间创建一个Atom条目元素
13.7. 用自定义的命名空间继承Atom条目类
14.1. Transforming CamelCaseText to another format
14.2. Setting Multiple Rules at Once
14.3. Using Zend_Config with Zend_Filter_Inflector
15.1. 定制标签
15.2. 为所有元素设置前缀路径
15.3. 为所有元素设置装饰器(Decorators)
15.4. 为所有元素设置过滤器
15.5. 为所有的显示组设置装饰器前缀路径
15.6. 为所有显示组设置装饰器
15.7. 注册表单示例
17.1. 执行一个基本的 GET 请求
17.2. 创建一个基本的Zend_Http_Client
17.3. 发送多条header信息
17.4. 发送请求到多个域名
17.5. 用Zend_Http_Client发送POST 数据
17.6. Forcing RFC 2616 Strict Redirections on 301 and 302 Responses
17.7. Setting Cookies Using setCookie()
17.8. Enabling Cookie Stickiness
17.9. Setting A Single Custom Request Header
17.10. Setting Multiple Custom Request Headers
17.11. Using setFileUpload to Upload Files
17.12. Sending Raw POST Data
17.13. Setting HTTP Authentication User and Password
17.14. Performing consecutive requests with one client
17.15. Changing the HTTPS transport layer
17.16. Using Zend_Http_Client behind a proxy server
17.17. Testing Against a Single HTTP Response Stub
17.18. Testing Against Multiple HTTP Response Stubs
17.19. Creating your own connection adapter
17.20. Instantiating a Zend_Http_Cookie object
17.21. Stringifying a Zend_Http_Cookie object
17.22. Using getter methods with Zend_Http_Cookie
17.23. Matching cookies
17.24. 处理HTTP应答
19.1. 传递选项给构造器或startMvc()
19.2. 使用setOption() 和 setConfig()
19.3. 使用访问器
19.4. 使用Zend_Layout访问器来修改变形器(inflector)
19.5. Zend_Layout 变形器的直接修改
19.6. 定制变形器(inflectors)
20.1. loadFile() 方法范例
20.2. Example of loadClass() method
20.3. isReadable()示例:
20.4. 注册 autoloader callback 方法范例
20.5. 从继承类注册 autoload callback 方法范例
21.1. Choosing a specific locale
21.2. Automatically selecting a locale
21.3. Using automatic locales
21.4. Handling locale exceptions
21.5. Setting a default locale
21.6. Dates default to correct locale of web users
21.7. Overriding default locale selection
21.8. Performance optimization when using a default locale
21.9. Dates default to correct locale of web users
21.10. Using STANDARD definitions for setOptions()
21.11. clone
21.12. Check for equal locales
21.13. Get default locales
21.14. setLocale
21.15. getLanguage and getRegion
21.16. getTranslationList
21.17. getTranslationList
21.18. Converting country name in one language to another
21.19. All available translations
21.20. All Languages written in their native language
21.21. getQuestion()
21.22. getLocaleList()
21.23. Number normalization
21.24. Number normalization with precision
21.25. Number localization
21.26. Number localization with precision
21.27. Using a self defined number format
21.28. Number testing
21.29. Floating point value normalization
21.30. Floating point value localization
21.31. Floating point value testing
21.32. Integer value normalization
21.33. Integer value localization
21.34. Integer value testing
21.35. Converting numerals from Eastern Arabic scripts to EuropeanLatin scripts
21.36. Converting numerals from Latin script to Eastern Arabic script
21.37. Getting 4 letter CLDR script code using a native-language name of the script
21.38. Normalizing a date
21.39. Normalizing a date by locale
21.40. Normalizing a date with time
21.41. Normalizing a userdefined date
21.42. Automatic correction of input dates
21.43. Date testing
21.44. Normalize an unknown time
21.45. Testing a time
23.1. 使用Zend_Mail发送简单邮件
23.2. 传递另外的参数给 Zend_Mail_Transport_Sendmail 传送器
23.3. 通过 SMTP 发送邮件
23.4. 通过一个SMTP连接发送多个邮件
23.5. 手工控制传送器连接
23.6. 使用不同的Transport对象
23.7. 发送HTML邮件
23.8. 带附件的邮件
23.9. 更改MIME分界线
23.10. 外加邮件头信息
23.11. 在 Zend_Mail_Transport_Smtp 中使用身份验证
23.12. Enabling a secure connection within Zend_Mail_Transport_Smtp
24.1. Converting measurements
24.2. The meter measurement
24.3. Creation using integer and floating values
24.4. Creation using strings
24.5. Arbitrary text input containing measurements
24.6. Localized string
24.7. Automatic output
24.8. Output a value
24.9. Outputting units
24.10. Convert
24.11. Adding units
24.12. Subtract
24.13. Different measurements
24.14. Identical measurements
24.15. Difference
24.16. Changing a value
24.17. Changing the type
25.1. 使用 Zend_Memory 组件
27.1. 生成新的或加载 PDF 文档
27.2. 请求 PDF 文档的指定版本
27.3. Save PDF document.
27.4. PDF 文档页面管理
27.5. Cloning existing page.
27.6. Draw a string on the page.
27.7. Draw a UTF-8-encoded string on the page.
27.8. Create a standard font.
27.9. Create a TrueType font.
27.10. Create a TrueType font, but do not embed it in the PDF document.
27.11. Do not throw an exception for fonts that cannot be embeded.
27.12. Do not compress an embedded font.
27.13. Combining font embedding options.
27.14. Extracting fonts from a loaded document.
27.15. Extracting font from a loaded document by specifying font name.
27.16. Image drawing.
27.17. Zend_Pdf module usage demo.
28.1. set() 使用示例:
28.2. get() 方法示例:
28.3. 迭代一个registry对象:
28.4. 创建一个registry对象
28.5. Example of initializing the static registry
28.6. array 方式访问示例:
28.7. 对象形式的访问:
28.8. isRegistered() 示例:
28.9. isset() 示例:
28.10. 指定静态注册表的类名:
28.11. _unsetInstance() 示例:
29.1. A basic REST request
29.2. Response Status
29.3. Using Technoratis Rest Service
29.4. Example Technorati Response
29.5. Setting Request Arguments
29.6. Basic Zend_Rest_Server Usage - Classes
29.7. Basic Zend_Rest_Server Usage - Functions
29.8. Returning Custom Status
29.9. Return Custom XML
30.1. 自定义文本分析程序
32.1. isSpam() Usage
32.2. submitSpam() Usage
32.3. submitHam() Usage
32.4. Search Amazon Using the Traditional API
32.5. Search Amazon Using the Query API
32.6. Choosing an Amazon Web Service Country
32.7. Looking up a Specific Amazon Item by ASIN
32.8. Performing Amazon Item Searches
32.9. Using the ResponseGroup Option
32.10. Search Amazon Using the Alternative Query API
32.11. Retrieving User Profile Information
32.12. Retrieving a Users Weekly Artist Chart
32.13. Retrieving Related Artists
32.14. Get all posts
32.15. Accessing post lists
32.16. Filtering a Post List with Specific Tags
32.17. Filtering a Post List by URL
32.18. Post editing
32.19. Method call chaining
32.20. Deleting posts
32.21. Adding a post
32.22. Tags
32.23. Bundles
32.24. Retrieving public data
32.25. Changing the HTTP client of Zend_Rest_Client
32.26. Configuring your HTTP client to keep connections alive
32.27. 简单的 Flickr 照片搜索
32.28. 用email地址来查找Flickr用户
32.29. 获得 Flickr 图像详细资料
32.30. Querying Links
32.31. Modifying Links
32.32. Working With Tags
32.33. Working With Notes
32.34. Retrieving Watchlists
32.35. 用Yahoo!来搜索网页
32.36. 用Yahoo!来查找图片
32.37. 用Yahoo!查找本地商务和服务信息
32.38. 搜索Yahoo! 新闻
33.1. 页面浏览计数
33.2. 新方法: 使用命名空间避免冲突
33.3. 老方法: PHP会话访问
33.4. 会话迭代
33.5. 访问会话数据
33.6. 开启全局会话
33.7. 锁住会话命名空间
33.8. 过期的例子
33.9. 带有生命期的控制器命名空间会话
33.10. 限制命名空间访问单一实例
33.11. 修改带有会话命名空间的数组数据
33.12. 在会话存储之前构造数组
33.13. 方案:重新分配一个被修改的数组
33.14. 方案:存储包括引用的数组
33.15. PHPUnit Testing Code Dependent on Zend_Session
33.16. 使用Zend_Config配置Zend_Session
33.17. 会话固定
34.1. Example of single-language PHP code
34.2. Example of multi-lingual PHP code
34.3. Example TMX file
34.4. Example CSV file
34.5. Example CSV file two
34.6. Using translation options
34.7. Handling languages with adapters
34.8. How automatically language detection works
34.9. Scanning a directory structure for sources
34.10. Directory scanning for languages
34.11. Filename scanning for languages
34.12. Checking if a text is translatable
34.13. Handling languages with adapters
35.1. 使用Zend_Uri::factory()创建一个新的URI
35.2. 使用Zend_Uri::factory()操作一个现有的URI
35.3. 使用Zend_Uri::check()进行URI 验证
35.4. 从Zend_Uri_* 对象取得模式
35.5. 从一个Zend_Uri_* 对象取得整个URI
35.6. 验证一个 Zend_Uri_* 对象
36.1. 创建简单校验类
36.2. 编写有独立条件的校验类
36.3. 带有独立条件、多重失败原因的校验
37.1. compareVersion()方法示例:
38.1. 动作视图助手的基本用法
38.2. Partials 的基本用法
38.3. 使用 PartialLoop 来解析可迭代的(Iterable)的模型
38.4. 在其它模块中解析 Partials
38.5. 占位符的基本用法
38.6. 用占位符来聚合内容
38.7. 使用占位符(Placeholders)来抓取内容
38.8. Doctype 助手的基本用法
38.9. 获取 Doctype
38.10. HeadLink 助手的基本用法
38.11. HeadMeta 助手基本用法
38.12. HeadScript 助手基本用法
38.13. Capturing Scripts Using the HeadScript Helper
38.14. HeadStyle 助手的基本用法
38.15. 用 HeadStyle 助手抓取样式声明
38.16. HeadTitle 助手基本用法
38.17. 已注册的实例
38.18. 在视图里
38.19. 直接用法
38.20. 单个参数
38.21. 参数列表
38.22. 参数数组
38.23. 动态修改地点 (locale)
38.24. 静态修改地点 (locale)
38.25. 获得当前设置的地点
39.1. 一个基本的XML-RPC请求
39.2. 用类型提示来调用一个XML-RPC服务
全部评论 (0)


