Przewodnik Programisty

Zend Framework

2007-01-18


Spis treści

1. Zend
1.1. Wstęp
1.2. Zend::loadFile()
1.3. Zend::loadClass()
1.4. Zend::loadInterface()
1.5. Zend::isReadable()
1.6. Zend::exception()
1.7. Zend::dump()
1.8. Zend::register($index, $newval)
1.9. Zend::registry($index = null)
1.10. Zend::initRegistry($registry = 'Zend_Registry')
2. Zend_Acl
2.1. Wprowadzenie
2.1.1. O zasobach
2.1.2. O rolach
2.1.3. Tworzenie list kontroli dostępu (ACL)
2.1.4. Rejestrowanie ról
2.1.5. Definiowanie kontroli dostępu
2.1.6. Zapytania ACL
2.2. Analiza kontroli dostępu
2.2.1. Precyzyjna kontrola dostępu
2.2.2. Usuwanie kontroli dostępu
2.3. Zaawansowane użycie
2.3.1. Trwałe przechowywanie danych ACL
2.3.2. Tworzenie warunkowych reguł ACL z zapewnieniami
3. Zend_Cache
3.1. Wprowadzenie
3.2. Teoria buforowania
3.2.1. Metoda fabryki Zend_Cache
3.2.2. Nadawanie etykiet rekordom
3.2.3. Czyszczenie bufora
3.3. Frontendy Zend_Cache
3.3.1. Zend_Cache_Core
3.3.2. Zend_Cache_Frontend_Output
3.3.3. Zend_Cache_Frontend_Function
3.3.4. Zend_Cache_Frontend_Class
3.3.5. Zend_Cache_Frontend_File
3.3.6. Zend_Cache_Frontend_Page
3.4. Backendy Zend_Cache
3.4.1. Zend_Cache_Backend_File
3.4.2. Zend_Cache_Backend_Sqlite
3.4.3. Zend_Cache_Backend_Memcached
3.4.4. Zend_Cache_Backend_APC
3.4.5. Zend_Cache_Backend_ZendPlatform
4. Zend_Config
4.1. Wprowadzenie
4.2. Zasady działania
4.3. Zend_Config_Ini
4.4. Zend_Config_Xml
5. Zend_Controller
5.1. Wstęp
5.1.1. Wprowadzenie
5.1.2. Obiekt żądania
5.1.3. Proces Routingu
5.1.4. Proces uruchamiania
5.1.5. Obiekt odpowiedzi
5.2. Pierwsze kroki
5.2.1. Wprowadzenie
5.2.2. Konfiguracja serwera
5.2.3. Plik ładujący
5.2.4. Struktura katalogów
5.2.5. Domyślny kontroler
5.3. Rozszerzanie
5.3.1. Wprowadzenie
5.3.2. Konwencje
5.3.3. Klasa abstrakcyjna Request
5.3.4. Interfejs Routera
5.3.5. Interfejs dispatchera
5.3.6. Kontroler akcji
5.3.7. Obiekt odpowiedzi
5.4. Dostępne podklasy
5.4.1. Wprowadzenie
5.4.2. Zend_Controller_Request_Http
5.4.3. Zend_Controller_RewriteRouter
5.4.4. Zend_Controller_Response_Http
5.4.5. Zend_Controller_Response_Cli
5.5. Action Controllers
5.5.1. Wprowadzenie
5.5.2. Inicjalizacja obiektu
5.5.3. Metody Pre-Dispatch oraz Post-Dispatch
5.5.4. Metody dostępowe
5.5.5. Metody narzędziowe
5.6. Wtyczki
5.6.1. Wprowadzenie
5.6.2. Pisanie wtyczek
5.6.3. Użycie wtyczek
5.7. Migracja z poprzednich wersji
5.7.1. Migracja z wersji 0.2.0 lub z poprzednich do 0.6.0
6. Zend_Date
6.1. Introduction
6.1.1. Always Set a Default Timezone
6.1.2. Why Use Zend_Date?
6.2. Basic Methods
6.2.1. The current date
6.2.2. Zend_Date by Example
6.3. Theory of Operation
6.3.1. Internals
6.4. Zend_Date API Overview
6.4.1. Working with Date Values
6.4.2. Date Part Specific Methods
6.4.3. Additional Functions
6.5. How to Output Dates
6.5.1. Generating Date Strings Using toString()
6.5.2. toValue() - Partial Dates as Integers
6.5.3. get() - Partial Dates as Localized Strings
6.6. Miscellaneous Methods
6.6.1. Fractional Seconds
6.6.2. Working with Timezones
6.6.3. Understanding daylight saving
6.6.4. public static now()
6.6.5. Leap Years
6.6.6. Today, Tomorrow, Yesterday
6.6.7. What about the sun ?
6.7. Constants for General Date Functions
6.7.1. Using Constants
6.7.2. List of All Constants
6.7.3. Self-Defined Formats
7. Zend_Db
7.1. Zend_Db_Adapter
7.1.1. Wprowadzenie
7.1.2. Zapobieganie atakom SQL Injection
7.1.3. Bezpośrednie zapytania
7.1.4. Transakcje
7.1.5. Wstawianie wierszy
7.1.6. Aktualizowanie wierszy
7.1.7. Usuwanie wierszy
7.1.8. Pobieranie wierszy
7.2. Zend_Db_Profiler
7.2.1. Wprowadzenie
7.2.2. Użycie profilera
7.2.3. Zaawansowane użycie profilera
7.3. Zend_Db_Select
7.3.1. Wprowadzenie
7.3.2. Kolumny z tabel (FROM)
7.3.3. Kolumny ze złączonych tabel (JOIN)
7.3.4. Warunki WHERE
7.3.5. Warunek GROUP BY
7.3.6. Warunki HAVING
7.3.7. Warunek ORDER BY
7.3.8. LIMIT w oparciu o ilość wyników i offset
7.3.9. LIMIT w oparciu o ilość wyników i numer strony
7.4. Zend_Db_Table
7.4.1. Wprowadzenie
7.4.2. Pierwsze kroki
7.4.3. Nazwa tabeli oraz klucz podstawowy
7.4.4. Wstawianie wierszy
7.4.5. Uaktualnianie wierszy
7.4.6. Usuwanie wierszy
7.4.7. Wyszukiwanie wierszy na podstawie klucza podstawowego
7.4.8. Pobieranie jednego wiersza
7.4.9. Pobieranie wielu wierszy
7.4.10. Dodawanie logiki biznesowej
7.5. Zend_Db_Table_Row
7.5.1. Wprowadzenie
7.5.2. Pobieranie wiersza
7.5.3. Modyfikowanie wartości
7.6. Zend_Db_Table_Rowset
7.6.1. Wprowadzenie
7.6.2. Pobieranie zestawu wierszy
7.6.3. Przechodzenie przez zestaw wierszy
8. Zend_Feed
8.1. Wprowadzenie
8.2. Importowanie kanałów informacyjnych za pomocą Zend_Feed
8.3. Odbieranie kanałów informacyjnych ze stron internetowych
8.4. Odbieranie danych z kanału informacyjnego RSS
8.5. Odbieranie danych z kanału informacyjnego Atom
8.6. Pobieranie pojedynczego wpisu kanału Atom
8.7. Modyfikacja kanału oraz struktury wpisów
8.8. Własne klasy kanału i wpisu
9. Zend_Filter
9.1. Zend_Filter
9.1.1. Wprowadzenie
9.1.2. Użycie
9.2. Zend_Filter_Input
9.2.1. Wprowadzenie
9.2.2. Filtrowanie whitelist
9.2.3. Filtrowanie blind
9.2.4. Filtrowanie blacklist
9.2.5. Opis działania
9.2.6. Przykłady użycia
10. Zend_Gdata
10.1. Introduction to Gdata
10.1.1. Google Data Client Authentication
10.1.2. Dependencies
10.1.3. Creating a new Gdata client
10.1.4. Common query parameters
10.1.5. Fetching a feed
10.1.6. Posting entries to Google servers
10.1.7. Deleting entries on Google servers
10.2. Authenticating with AuthSub
10.2.1. Creating an AuthSub authenticated Http Client
10.2.2. Revoking AuthSub authentication
10.3. Authenticating with ClientLogin
10.3.1. Creating a ClientLogin authenticated Http Client
10.3.2. Terminating a ClientLogin authenticated Http Client
10.4. Using Google Base
10.4.1. Querying Base data
10.4.2. Updating Base data
10.4.3. Querying Base metadata
10.5. Using Google Blogger
10.5.1. Understanding Blogger version compatibility
10.5.2. Querying a blog
10.5.3. Posting to your blog
10.6. Using Google Calendar
10.6.1. Querying Google Calendar
10.6.2. Posting to Google Calendar
10.7. Using Google CodeSearch
10.8. Using the Gdata Data Helper
10.9. Catching Gdata Exceptions
11. Zend_Http
11.1. Zend_Http_Client - Introduction
11.1.1. Introduction
11.1.2. Configuration Parameters
11.1.3. Performing Basic HTTP Requests
11.1.4. Adding GET and POST parameters
11.2. Zend_Http_Client - Advanced Usage
11.2.1. HTTP Redirections
11.2.2. Adding Cookies and Using Cookie Persistence
11.2.3. Setting Custom Request Headers
11.2.4. File Uploads
11.2.5. Sending Raw POST Data
11.2.6. HTTP Authentication
11.2.7. Sending Multiple Requests With the Same Client
11.3. Zend_Http_Client - Connection Adapters
11.3.1. Overview
11.3.2. The Socket Adapter
11.3.3. The Proxy Adapter
11.3.4. The Test Adapter
11.3.5. Creating your own connection adapters
11.4. Zend_Http_Cookie and Zend_Http_CookieJar
11.4.1. Introduction
11.4.2. Instantiating Zend_Http_Cookie Objects
11.4.3. Zend_Http_Cookie getter methods
11.4.4. Zend_Http_Cookie: Matching against a scenario
11.4.5. The Zend_Http_CookieJar Class: Instantiation
11.4.6. Adding Cookies to a Zend_Http_CookieJar object
11.4.7. Retrieving Cookies From a Zend_Http_CookieJar object
11.5. Zend_Http_Response
11.5.1. Introduction
11.5.2. Boolean Tester Methods
11.5.3. Accessor Methods
11.5.4. Static HTTP Response Parsers
12. Zend_Json
12.1. Wprowadzenie
12.2. Podstawowe użycie
12.3. Obiekty JSON
13. Zend_Locale
13.1. Introduction
13.1.1. What is Localization
13.1.2. What is a Locale?
13.1.3. How are Locales Represented?
13.1.4. Selecting the Right Locale
13.1.5. ZF Locale-Aware Classes
13.2. Using Zend_Locale
13.2.1. Copying, Cloning, and Serializing Locale Objects
13.2.2. isEqual() - Equality
13.2.3. Default locales
13.2.4. Set a new locale
13.2.5. Getting the language and region
13.2.6. Obtaining localized name for languages, regions, and calendars
13.2.7. Get an translated string of an script
13.2.8. Get a list of scripts
13.2.9. Obtaining translations for "yes" and "no"
13.3. Normalization and Localization
13.3.1. Number normalization: getNumber($input, $precision = false, $locale = false)
13.3.2. Number localization
13.3.3. Number testing
13.3.4. Float value normalization
13.3.5. Floating point value localization
13.3.6. Floating point value testing
13.3.7. Integer value normalization
13.3.8. Integer point value localization
13.3.9. Integer value testing
13.3.10. Numeral System Conversion
13.4. Working with Dates and Times
13.4.1. Normalizing Dates and Times
13.4.2. Testing Dates
13.4.3. Normalizing a Time
13.4.4. Testing Times
13.5. Supported Languages for Locales
13.6. Supported Regions for Locales
14. Zend_Log
14.1. Wprowadzenie
14.2. Rejestrowanie do pojedynczego dziennika
14.3. Priorytety wiadomości
14.4. Zaawansowane logowanie: wiele dzienników
15. Zend_Mail
15.1. Wprowadzenie
15.2. Wysyłanie przez SMTP
15.3. Wysyłanie wielu maili podczas jednego połączenia SMTP
15.4. Używanie innych transportów
15.5. E-mail w postaci HTML
15.6. Załączniki
15.7. Dodawanie odbiorców
15.8. Pole rozgraniczające MIME
15.9. Dodatkowe nagłówki
15.10. Zestawy znaków
15.11. Kodowanie
15.12. Uwierzytelnianie SMTP
16. Zend_Measure
16.1. Introduction
16.2. Measurements in the Zend Framework
16.3. Creation of Measurements
16.3.1. Measurements from variables
16.3.2. Measurements from strings
16.3.3. Measurements from localized strings
16.4. Outputting measurements
16.4.1. Automatic output
16.4.2. Outputting values
16.4.3. Output with unit of measurement
16.4.4. Output as localized string
16.5. Manipulating measurements
16.5.1. Convert
16.5.2. Add and subtract
16.5.3. Compare
16.5.4. Calculate differences
16.5.5. Manually change values
16.5.6. Manually change types
16.6. Special functions
16.6.1. Serializing and Deserializing
16.6.2. Listing all known types
16.6.3. Listing all known units
16.7. Types of measurements
16.7.1. Zend_Measure_Acceleration
16.7.2. Zend_Measure_Angle
16.7.3. Zend_Measure_Area
16.7.4. Zend_Measure_Binary
16.7.5. Zend_Measure_Capacitance
16.7.6. Zend_Measure_Cooking_Volume
16.7.7. Zend_Measure_Cooking_Weight
16.7.8. Zend_Measure_Current
16.7.9. Zend_Measure_Density
16.7.10. Zend_Measure_Energy
16.7.11. Zend_Measure_Force
16.7.12. Zend_Measure_Flow_Mass
16.7.13. Zend_Measure_Flow_Mole
16.7.14. Zend_Measure_Flow_Volume
16.7.15. Zend_Measure_Frequency
16.7.16. Zend_Measure_Illumination
16.7.17. Zend_Measure_Length
16.7.18. Zend_Measure_Lightness
16.7.19. Zend_Measure_Number
16.7.20. Zend_Measure_Power
16.7.21. Zend_Measure_Pressure
16.7.22. Zend_Measure_Speed
16.7.23. Zend_Measure_Temperature
16.7.24. Zend_Measure_Torque
16.7.25. Zend_Measure_Viscosity_Dynamic
16.7.26. Zend_Measure_Viscosity_Kinematic
16.7.27. Zend_Measure_Volume
16.7.28. Zend_Measure_Weight
17. Zend_Mime
17.1. Zend_Mime
17.1.1. Wprowadzenie
17.1.2. Metody statyczne i stałe
17.1.3. Tworzenie instancji Zend_Mime
17.2. Zend_Mime_Message
17.2.1. Wprowadzenie
17.2.2. Tworzenie instancji
17.2.3. Dodawanie części MIME
17.2.4. Obsługa pola rozgraniczającego (boundary)
17.2.5. Tworzenie obiektu Zend_Mime_Message z łańcucha znaków. (eksperymentalne)
17.3. Zend_Mime_Part
17.3.1. Wprowadzenie
17.3.2. Tworzenie instancji
17.3.3. Metody do renderowania części wiadomości do łańcucha znaków
18. Zend_Pdf
18.1. Wprowadzenie
18.2. Tworzenie oraz ładowanie dokumentów PDF.
18.3. Zapisywanie zmian w dokumencie PDF.
18.4. Strony dokumentu.
18.5. Rysowanie.
18.5.1. Geometria.
18.5.2. Kolory.
18.5.3. Rysowanie figur.
18.5.4. Wypisywanie tekstu.
18.5.5. Użycie czcionek.
18.5.6. Wstawianie obrazów.
18.5.7. Styl rysowania linii.
18.5.8. Styl wypełnienia.
18.5.9. Obracanie.
18.5.10. Zapisywanie/odczytywanie stanu grafiki.
18.5.11. Przycięcie obszaru rysowania.
18.5.12. Style.
18.6. Przykład użycia modułu Zend_Pdf.
19. Zend_Search
19.1. Overview
19.1.1. Introduction
19.1.2. Document and Field Objects
19.1.3. Understanding Field Types
19.2. Building Indexes
19.2.1. Creating a New Index
19.2.2. Updating Index
19.2.3. Updating Documents
19.2.4. Index optimization
19.2.5. Limitationas
19.3. Searching an Index
19.3.1. Building Queries
19.3.2. Search Result Sorting
19.3.3. Search Results
19.3.4. Results Scoring
19.4. Query Language
19.4.1. Terms
19.4.2. Fields
19.4.3. Term Modifiers
19.4.4. Proximity Searches
19.4.5. Boosting a Term
19.4.6. Boolean Operators
19.4.7. Grouping
19.4.8. Field Grouping
19.4.9. Escaping Special Characters
19.5. Query Construction API
19.5.1. Query Parser Exceptions
19.5.2. Term Query
19.5.3. Multi-Term Query
19.5.4. Phrase Query
19.6. Character set.
19.6.1. UTF-8 and single-byte character sets support.
19.7. Extensibility
19.7.1. Text Analysis
19.7.2. Tokens Filtering
19.7.3. Scoring Algorithms
19.7.4. Storage Containers
19.8. Interoperating with Java Lucene
19.8.1. File Formats
19.8.2. Index Directory
19.8.3. Java Source Code
19.8.4. Using LuceneIndexCreation.jar
20. Zend_Service
20.1. Wprowadzenie
20.2. Zend_Service_Rest
20.2.1. Wprowadzenie
20.3. Zend_Service_Amazon
20.3.1. Wprowadzenie
20.3.2. Kody państw
20.3.3. Szukanie specyficznego przedmiotu w Amazon na podstawie ASIN
20.3.4. Wykonywanie wyszukiwań przedmiotów Amazon
20.3.5. Użycie alternatywnego API zapytań
20.3.6. Klasy Zend_Service_Amazon
20.4. Zend_Service_Flickr
20.4.1. Wprowadzenie do przeszukiwania Flickr
20.4.2. Wyszukiwanie użytkowników Flickr
20.4.3. Pobieranie szczegółów zdjęcia Flickr
20.4.4. Klasy Zend_Service_Flickr
20.5. Zend_Service_Yahoo
20.5.1. Wprowadzenie
20.5.2. Przeszukiwanie sieci Web z Yahoo!
20.5.3. Wyszukiwanie obrazków z Yahoo!
20.5.4. Przeszukiwanie lokalnych firm i usług za pomocą Yahoo!
20.5.5. Przeszukiwanie Yahoo! News
20.5.6. Klasy Zend_Service_Yahoo
21. Zend_Session
21.1. Introduction
21.2. Basic Usage
21.2.1. Tutorial Examples
21.2.2. Iterating Over Session Namespaces
21.2.3. Accessors for Session Namespaces
21.3. Advanced Usage
21.3.1. Starting a Session
21.3.2. Locking Session Namespaces
21.3.3. Session Encapsulation and Controllers
21.3.4. Limiting Instances of Zend_Session to One Per Namespace
21.4. Global Session Management
21.4.1. setOptions()
21.4.2. Options
21.4.3. regenerateId()
21.4.4. rememberMe(integer $seconds)
21.4.5. forgetMe()
21.4.6. sessionExists()
21.4.7. destroy(bool $remove_cookie = true, bool $readonly = true)
21.4.8. stop()
21.4.9. writeClose($readonly = true)
21.4.10. expireSessionCookie()
21.4.11. setSaveHandler(Zend_Session_SaveHandler_Interface $interface)
21.4.12. getInstance($instanceMustExist = false)
21.4.13. namespaceIsset($namespace, $name = null)
21.4.14. namespaceUnset($namespace, $name = null)
21.4.15. namespaceSet($namespace, $name, $value)
21.4.16. namespaceGet($namespace, $name = null)
21.4.17. getIterator()
21.5. Theory
22. Zend_Uri
22.1. Zend_Uri
22.1.1. Wstęp
22.1.2. Tworzenie nowego URI
22.1.3. Manipulowanie istniejącym URI
22.1.4. Sprawdzanie poprawności URI
22.1.5. Wspólne metody instancji
23. Zend_View
23.1. Wprowadzenie
23.1.1. Skrypt kontrolera
23.1.2. Skrypt widoku
23.2. Skrypt kontrolera
23.2.1. Przekazywanie zmiennych
23.2.2. Wykonywanie skryptu widoku
23.2.3. Ścieżki skryptu widoku
23.3. Skrypty widoków
23.3.1. Filtrowanie danych wyjściowych
23.3.2. Użycie alternatywnych systemów szablonów
23.4. Klasy pomocników
23.4.1. Wbudowane klasy pomocników
23.4.2. Ścieżki klas pomocników
23.4.3. Pisanie własnych klas pomocników
24. Zend_XmlRpc
24.1. Wprowadzenie
24.2. Zend_XmlRpc_Client
24.2.1. Wprowadzenie
24.2.2. Wywołania metod
24.2.3. Typy i konwersje
24.2.4. Server Proxy Object
24.2.5. Obsługa błędów
24.2.6. Introspekcja serwerów
24.2.7. Od żądania do odpowiedzi
24.2.8. Klient HTTP i testowanie
24.3. Zend_XmlRpc_Server
24.3.1. Wprowadzenie
24.3.2. Podstawowe użycie
24.3.3. Struktura serwera
24.3.4. Konwencje
24.3.5. Używanie przestrzeni nazw
24.3.6. Własny obiekt żądania
24.3.7. Własne odpowiedzi
24.3.8. Handling Exceptions via Faults
24.3.9. Buforowanie definicji serwera pomiędzy żądaniami
24.3.10. Przykład użycia
25. Zend_Server
25.1. Wprowadzenie
25.2. Zend_Server_Reflection
25.2.1. Wprowadzenie
25.2.2. Użycie
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. Informacje o prawach autorskich
Indeks

Spis tabel

2.1. Kontrola dostępu dla przykładowego CMS
3.1. Dostępne opcje
3.2. Dostępne opcje
3.3. Dostępne opcje
3.4. Dostępne opcje
3.5. Dostępne opcje
3.6. Dostępne opcje
3.7. Dostępne opcje
3.8. Dostępne opcje
6.1. Basic Zend_Date Methods and Part Specific Methods
6.2. Detailed functions
6.3. Additional Functions
6.4. Operations involving Zend_Date::HOUR
6.5. Day Constants
6.6. Week Constants
6.7. Month Constants
6.8. Year Constants
6.9. Time Constants
6.10. Timezone Constants
6.11. Date Format Constants (formats include timezone)
6.12. Date and Time Formats (format varies by locale)
6.13. Constants for ISO 8601 date output
10.1. Differences between current Blogger service and Blogger beta service
11.1. Zend_Http_Client configuration parameters
11.2. Zend_Http_Client configuration parameters
13.1. List of supported numeral systems
13.2. Return values
13.3. Format definition
13.4. Example formats
13.5. List of all supported languages
13.6. List of all supported regions
19.1. Zend_Search_Lucene_Field Types
20.1. Właściwości Zend_Service_Amazon_Item
20.2. Właściwości Zend_Service_Amazon_Image
20.3. Właściwości Zend_Service_Amazon_OfferSet
20.4. Właściwości
20.5. Właściwości Zend_Service_Amazon_SimilarProduct
20.6. Właściwości Zend_Service_Amazon_Accessories
20.7. Właściwości Zend_Service_Amazon_CustomerReview
20.8. Właściwości Zend_Service_Amazon_EditorialReview
20.9. Właściwości Zend_Service_Amazon_Listmania
20.10. Właściwości Zend_Service_Flickr_ResultSet
20.11. Właściwości Zend_Service_Flickr_Result
20.12. Właściwości Zend_Service_Flickr_Image
20.13. Zend_Service_Yahoo_ResultSet
20.14. Właściwości Zend_Service_Yahoo_LocalResultSet
20.15. Właściwości Zend_Service_Yahoo_Result
20.16. Właściwości Zend_Service_Yahoo_WebResult
20.17. Właściwości Zend_Service_Yahoo_ImageResult
20.18. Właściwości Zend_Service_Yahoo_LocalResult
20.19. Właściwości Zend_Service_Yahoo_NewsResult
20.20. Właściwości Zend_Service_Yahoo_Image
24.1. Konwersje między typami PHP oraz XML-RPC
24.2. Obiekty Zend_XmlRpc_Value dla typów XML-RPC

Spis przykładów

1.1. Przykład użycia register() / offsetSet()
1.2. registry() / offsetGet() Example
1.3. Przykład użycia isRegistered() / offsetExists()
1.4. Iteracja poprzez rejestr
1.5. Przykład użycia register() / offsetSet()
1.6. Uzyskiwanie dostępu do wartości używając składni OO zamiast składni ArrayAccess
3.1. Pobieranie frontendu za pomocą Zend_Cache::factory()
3.2. Buforowanie danych wyjściowych przy użyciu frontendu Zend_Cache
4.1. Użycie Zend_Config
4.2. Użycie Zend_Config_Ini
4.3. Użycie Zend_Config_Xml
6.1. Setting a default timezone
6.2. Creating the current date
6.3. get() - output a date
6.4. set() - set a date
6.5. add() - adding dates
6.6. compare() - compare dates
6.7. equals() - identify a date or date part
6.8. Example usage for self-defined formats
8.1. Użycie Zend_Feed do pobierania danych RSS
8.2. Podstawowe użycie kanału Atom
8.3. Odczytywanie pojedynczego wpisu kanału Atom
8.4. Bezpośrednie użycie obiektu wpisu dla pojedynczego wpisu kanału Atom
8.5. Modyfikacja istniejącego wpisu
8.6. Tworzenie wpisu Atom z elementami własnej przestrzeni nazw
8.7. Rozszerzanie klasy wpisu Atom z własnymi przestrzeniami nazw
11.1. Instantiating a Zend_Http_Client object
11.2. Preforming a Simple GET Request
11.3. Using Request Methods Other Than GET
11.4. Setting GET Parameters
11.5. Setting POST Parameters
11.6. Forcing RFC 2616 Strict Redirections on 301 and 302 Responses
11.7. Setting Cookies Using setCookie()
11.8. Enabling Cookie Stickiness
11.9. Setting A Single Custom Request Header
11.10. Setting Multiple Custom Request Headers
11.11. Using setFileUpload to Upload Files
11.12. Sending Raw POST Data
11.13. Setting HTTP Authentication User and Password
11.14. Performing consecutive requests with one client
11.15. Changing the HTTPS transport layer
11.16. Using Zend_Http_Client behind a proxy server
11.17. Testing Your Code Without Accessing The Network
11.18. Creating your own connection adapter
11.19. Instantiating a Zend_Http_Cookie object
11.20. Stringifying a Zend_Http_Cookie object
11.21. Using getter methods with Zend_Http_Cookie
11.22. Matching cookies
11.23. Instantiating a Zend_Http_Response object using the factory method
11.24. Using the isError() method to validate a response
11.25. Using Zend_Http_Response Accessor Methods
11.26. Accessing Response Headers
13.1. Choosing a specific locale
13.2. Automatically selecting a locale
13.3. Dates default to correct locale of web users
13.4. Overriding default locale selection
13.5. Performance optimization when using a default locale
13.6. clone
13.7. Check for equal locales
13.8. Get default locales
13.9. setLocale
13.10. getLanguageDisplay
13.11. All Languages written in thier native language
13.12. getScriptDisplay
13.13. getScriptList
13.14. getQuestion()
13.15. Number normalization
13.16. Number normalization with precision
13.17. Number localization
13.18. Number localization with precision
13.19. Number testing
13.20. Floating point value normalization
13.21. Floating point value localization
13.22. Floating point value testing
13.23. Integer value normalization
13.24. Integer value localization
13.25. Integer value testing
13.26. Converting numerals to Arabic/European
13.27. Converting numerals from Arabic/European
13.28. Normalizing a date
13.29. Normalizing a date by locale
13.30. Normalizing a date with time
13.31. Normalizing a userdefined date
13.32. Correction for date normalizing
13.33. Date testing
13.34. Normalize an unknown time
13.35. Testing a time
15.1. Wysyłanie prostego e-maila za pomocą Zend_Mail
15.2. Wysyłanie e-maila przez SMTP
15.3. Wysyłanie wielu maili podczas jednego połączenia SMTP
15.4. Używanie innych transportów
15.5. Wysyłanie e-maila w postaci HTML
15.6. Wiadomości e-mail z załącznikami
15.7. Zmiana pola rozgraniczającego MIME
15.8. Dodawanie nagłówków do wiadomości e-mail
16.1. Converting measurements
16.2. The meter measurement
16.3. Creation using integer variables
16.4. Creation using strings
16.5. Arbitrary texts
16.6. Arbitrary texts
16.7. Localized string
16.8. Automatic output
16.9. Output a value
16.10. Outputting units
16.11. Convert
16.12. Adding units
16.13. Subtract
16.14. Different measurements
16.15. Identical measurements
16.16. Difference
16.17. Changing a value
16.18. Changing the type
16.19. Serializing
16.20. Deserializing
16.21. Listing all units for a given type
18.1. Tworzenie nowego lub ładowanie istniejącego dokumentu PDF.
18.2. Ładowanie określonej wersji dokumentu PDF.
18.3. Zapisywanie dokumentu PDF.
18.4. Zarządzanie stronami dokumentu PDF.
18.5. Wypisywanie tekstu na stronie.
18.6. Wypisywanie tekstu zakodowanego w UTF-8 na stronie.
18.7. Tworzenie standardowej czcionki.
18.8. Tworzenie czcionki TrueType.
18.9. Tworzenie czcionki TrueType, ale bez osadzania jej w dokumencie PDF.
18.10. Nie wyrzucanie wyjątku dla czcionek które nie mogą być osadzone.
18.11. Nie kompresowanie osadzonych czcionek.
18.12. Łączenie opcji osadzania czcionki.
18.13. Wstawianie obrazów.
18.14. Przykład użycia modułu Zend_Pdf.
19.1. Custom text Analyzer.
20.1. Proste zapytanie REST
20.2. Przeszukiwanie Amazon używając tradycyjnego API
20.3. Przeszukiwanie Amazon używając API zapytań
20.4. Wybierania państwa web serwisu Amazon
20.5. Szukanie specyficznego przedmiotu w Amazon na podstawie ASIN
20.6. Wykonywanie wyszukiwań przedmiotów Amazon
20.7. Przeszukiwanie serwisu Amazon używając alternatywnego API zapytań
20.8. Proste wyszukiwanie zdjęć Flickr
20.9. Wyszukiwanie użytkownika serwisu Flickr na podstawie adresu e-mail
20.10. Pobieranie szczegółów zdjęcia Flickr
20.11. Przeszukiwanie sieci Web z Yahoo!
20.12. Wyszukiwanie obrazków z Yahoo!
20.13. Przeszukiwanie lokalnych firm i usług za pomocą Yahoo!
20.14. Przeszukiwanie Yahoo! News
21.1. Counting Page Views
21.2. New Way: Namespaces Avoid Collisions
21.3. Old Way: PHP Session Access
21.4. Session Iteration
21.5. Accessing Session Data
21.6. Starting the Global Session
21.7. Locking Session Namespaces
21.8. Locking Sessions in Views
21.9. Namespaced Sessions for Controllers with Automatic Expiration
21.10. Limiting to Single Instances
21.11. Using Zend_Config to Configure Zend_Session
21.12. myapp.ini
21.13. Anonymous Sessions and Session Fixation
21.14. Unsetting All Namespaces
22.1. Tworzenie nowego URI za pomocą Zend_Uri::factory()
22.2. Manipulowanie istniejącym URI za pomocą Zend_Uri::factory()
22.3. Sprawdzanie poprawności URI za pomocą Zend_Uri::check()
22.4. Pobieranie schematu z obiektu Zend_Uri_*
22.5. Pobieranie całego URI z obiektu Zend_Uri_*
22.6. Sprawdzanie poprawności obiektu Zend_Uri_*
24.1. Wywołanie metody XML-RPC
24.2. Wywołanie metody XML-RPC z parametrem
24.3. Proxy the Default Namespace
24.4. Proxy Any Namespace
24.5. Obsługa błędów HTTP
24.6. Handling XML-RPC Faults
24.7. Przetwarzanie żądania do odpowiedzi