Руководство программиста

Zend Framework

2006-06-30


Содержание

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. Процесс маршрутизации
2.1.3. Маркер диспетчеризации
2.1.4. Процесс диспетчеризации
2.2. Начало работы
2.2.1. Введение
2.2.2. Конфигурация сервера
2.2.3. Файл загрузки
2.2.4. Структура каталогов
2.2.5. IndexController
2.3. Создание подклассов
2.3.1. Введение
2.3.2. Соглашения
2.3.3. Интерфейс маршрутизатора
2.3.4. Интерфейс диспетчера
2.4. Плагины
2.4.1. Введение
3. Zend_Db
3.1. Zend_Db_Adapter
3.1.1. Введение
3.1.2. Добавление кавычек против SQL-инъекций
3.1.3. Прямые запросы
3.1.4. Транзакции
3.1.5. Вставка строк
3.1.6. Обновление строк
3.1.7. Удаление строк
3.1.8. Извлечение строк
3.2. Zend_Db_Profiler
3.2.1. Введение
3.2.2. Использование профайлера
3.2.3. Расширенное использование профайлера
3.3. Zend_Db_Select
3.3.1. Введение
3.3.2. Извлечение столбцов
3.3.3. Объединение таблиц
3.3.4. Условия WHERE
3.3.5. Группировка
3.3.6. Условия HAVING
3.3.7. Сортировка
3.3.8. Ограничение по количеству строк и смещению
3.3.9. Ограничение по странице и количеству строк
3.4. Zend_Db_Table
3.4.1. Введение
3.4.2. Начало работы
3.4.3. Имя таблицы и первичные ключи
3.4.4. Вставка строк
3.4.5. Обновление строк
3.4.6. Удаление строк
3.4.7. Поиск строк по первичному ключу
3.4.8. Извлечение одной строки
3.4.9. Извлечение множества строк
3.4.10. Добавление логики предметной области
3.5. Zend_Db_Table_Row
3.5.1. Введение
3.5.2. Извлечение строки
3.5.3. Изменение значений
3.6. Zend_Db_Table_Rowset
3.6.1. Введение
3.6.2. Извлечение набора строк
3.6.3. Итерация набора строк
4. Zend_Feed
4.1. Введение
4.2. Импортирование лент с помощью Zend_Feed
4.3. Получение лент из веб-страниц
4.4. Работа с лентой RSS
4.5. Работа с лентой Atom
4.6. Работа с отдельной публикацией Atom
4.7. Изменение структуры лент и публикаций
4.8. Специальные классы лент и записей
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. Zend_Http_Client
6.1.1. Введение
6.1.2. Базовые запросы GET с установленными заголовками HTTP
6.1.3. Отправка запросов нескольким доменам
6.1.4. Изменение таймаута HTTP
6.1.5. Динамическая установка заголовков HTTP
6.1.6. Выполнение HTTP-запросов POST, PUT и DELETE
6.2. Zend_Http_Response
6.2.1. Введение
7. Zend_Json
7.1. Введение
7.2. Основы применения
7.3. Объекты JSON
8. Zend_Log
8.1. Introduction
8.2. Logging to a Single Log
8.3. Log Levels
8.4. Advanced Logging: Multiple Loggers
9. Zend_Mail
9.1. Introduction
9.2. Sending via SMTP
9.3. Sending Multiple Mails per SMTP Connection
9.4. Using Different Transports
9.5. HTML E-Mail
9.6. Attachments
9.7. Adding Recipients
9.8. Controlling the MIME Boundary
9.9. Additional Headers
9.10. Character Sets
9.11. Encoding
9.12. SMTP Authentication
10. Zend_Mime
10.1. Introduction
10.2. Zend_Mime_Message
10.2.1. Introduction
10.2.2. Instantiation
10.2.3. Adding MIME Parts
10.2.4. Boundary handling
10.2.5. parsing a string to create a Zend_Mime_Message object (experimental)
10.3. Zend_Mime_Part
10.3.1. Introduction
10.3.2. Instantiation
10.3.3. Methods for rendering the message part to a string
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. Introduction
13.2. Zend_Service_Rest
13.2.1. Introduction
13.3. Zend_Service_Amazon
13.3.1. Introduction
13.3.2. Country Codes
13.3.3. Looking up a Specific Amazon Item by ASIN
13.3.4. Performing Amazon Item Searches
13.3.5. Using the Alternative Query API
13.3.6. Zend_Service_Amazon Classes
13.4. Zend_Service_Flickr
13.4.1. Introduction to Searching Flickr
13.4.2. Finding Flickr Users
13.4.3. Retrieving Flickr Image Details
13.4.4. Zend_Service_Flickr Classes
13.5. Zend_Service_Yahoo
13.5.1. Introduction
13.5.2. Searching the Web with Yahoo!
13.5.3. Finding Images with Yahoo!
13.5.4. Finding Local Businesses and Services with Yahoo!
13.5.5. Searching Yahoo! News
13.5.6. Zend_Service_Yahoo Classes
14. Zend_View
14.1. Introduction
14.1.1. Controller Script
14.1.2. View Script
14.2. Controller Scripts
14.2.1. Assigning Variables
14.2.2. Rendering a View Script
14.2.3. View Script Paths
14.3. View Scripts
14.3.1. Escaping Output
14.3.2. Template Systems
14.4. View Helpers
14.4.1. Initial Helpers
14.4.2. Helper Paths
14.4.3. Writing Custom Helpers
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. Стандарт кодирования на PHP в Zend Framework'е
A.1. Обзор
A.1.1. Область применения
A.1.2. Цели
A.2. Форматирование PHP-файлов
A.2.1. Общее
A.2.2. Отступы
A.2.3. Максимальная длина строки
A.2.4. Переводы строк
A.3. Соглашения по именованию
A.3.1. Классы
A.3.2. Интерфейсы
A.3.3. Имена файлов
A.3.4. Функции и методы
A.3.5. Переменные
A.3.6. Константы
A.4. Стиль кодирования
A.4.1. Обрамление PHP-кода
A.4.2. Строки
A.4.3. Массивы
A.4.4. Классы
A.4.5. Функции и методы
A.4.6. Управляющие структуры
A.4.7. Встроенная документация
B. Copyright Information
Предметный указатель

Список таблиц

12.1. Zend_Search_Lucene_Field Types
13.1. Zend_Service_Amazon_Item Properties
13.2. Zend_Service_Amazon_Image Properties
13.3. Zend_Service_Amazon_OfferSet Properties
13.4. Zend_Service_Amazon_Offer Properties
13.5. Zend_Service_Amazon_SimilarProduct Properties
13.6. Zend_Service_Amazon_Accessories Properties
13.7. Zend_Service_Amazon_CustomerReview Properties
13.8. Zend_Service_Amazon_EditorialReview Properties
13.9. Zend_Service_Amazon_Listmania Properties
13.10. Zend_Service_Flickr_ResultSet Properties
13.11. Zend_Service_Flickr_Result Properties
13.12. Zend_Service_Flickr_Image Properties
13.13. Zend_Service_Yahoo_ResultSet
13.14. Zend_Service_Yahoo_LocalResultSet Properties
13.15. Zend_Service_Yahoo_Result Properties
13.16. Zend_Service_Yahoo_WebResult Properties
13.17. Zend_Service_Yahoo_ImageResult Properties
13.18. Zend_Service_Yahoo_LocalResult Properties
13.19. Zend_Service_Yahoo_NewsResult Properties
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. Включение Zend_Feed в работу с данными ленты RSS
4.2. Основы использования ленты Atom
4.3. Чтение отдельной публикации ленты Atom
4.4. Непосредственное использование объекта публикации Atom
4.5. Изменение существующей публикации в ленте
4.6. Создание публикации Atom с элементами в специальном пространстве имен
4.7. Расширение класса публикации Atom с добавлением специальных пространств имен
6.1. Выполнение базовых запросов GET
6.2. Создание основного Zend_Http_Client
6.3. Передача нескольких заголовков
6.4. Отправка запросов нескольким доменам
6.5. Отправка данных POST с помощью Zend_Http_Client
6.6. Работа с данными ответа HTTP
9.1. Simple E-Mail with Zend_Mail
9.2. Sending E-Mail via SMTP
9.3. Sending Multiple Mails per SMTP Connection
9.4. Using Different Transports
9.5. Sending HTML E-Mail
9.6. E-Mail Messages with Attachments
9.7. Changing the MIME Boundary
9.8. Adding E-Mail Message Headers
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. A basic REST Request
13.2. Search Amazon Using the Traditional API
13.3. Search Amazon Using the Query API
13.4. Choosing an Amazon Web Service Country
13.5. Looking up a Specific Amazon Item by ASIN
13.6. Performing Amazon Item Searches
13.7. Search Amazon Using the Alternative Query API
13.8. Simple Flickr Photo Search
13.9. Finding a Flickr User by E-Mail Address
13.10. Retrieving Flickr Image Details
13.11. Searching the Web with Yahoo!
13.12. Finding Images with Yahoo!
13.13. Finding Local Businesses and Services with Yahoo!
13.14. Searching Yahoo! News
15.1. A basic XML-RPC request
15.2. Calling an XML-RPC service with type hinting