Feb 07
I haven’t had much luck finding a quick reference to the Zend Framework, so I put this short guide together for my own use. Because I’ve just digested the Zend Framework Documentation there are some essential pieces missing (eg Action Controllers), so I’ll be updating this document as I go.
Model-View-Controller
- Zend_Controller
- MVC Controller. Implements a Front Controller pattern, in which all requests are intercepted by the front controller and dispatched to individual Action Controllers based on the URL requested.
- Zend_View
- A class for working with the “view” portion of the model-view-controller pattern.
- Zend_Layout
- Implements a classic Two Step View pattern, allowing developers to wrap application content within another view, usually representing the site template.
General-Purpose Components
- Zend_Acl
- Lightweight and flexible access control list (ACL) functionality and privileges management. An application may utilize such functionality to control access to certain protected objects by other requesting objects.
- Zend_Auth
- An API for authentication. Includes concrete authentication adapters for common use case scenarios.
- Zend_Cache
- A generic data cache.
- Zend_Db
- SQL database interface.
- Zend_Log
- General purpose logging with multiple backends and message filtering.
- Zend_Registry
- A container for storing objects and values in the application space. An alternative to globals.
- Zend_Search_Lucene
- A general purpose text search engine written entirely in PHP 5.
- Zend_Session
- Manages and preserves session data across multiple page requests by the same client.
Data Parsing & Validation, File Formats
- Zend_Config
- Parse .ini files.
- Zend_Console_Getopt
- Parse command-line options and arguments.
- Zend_Validate
- Common data validators and a simple chaining mechanism.
- Zend_Filter
- Common data filters and a simple filter chaining mechanism.
- Zend_Filter_Input
- A declarative interface to associate multiple filters and validators, apply them to collections of data and to retrieve input values post-processing.
- Zend_OpenId
- A simple API for building OpenID-enabled sites and identity providers.
- Zend_Uri
- Manipulates and validates Uniform Resource Identifiers (URIs).
- Zend_Form
- Simple form creation and validation.
- Zend_Mime
- Handle multipart MIME messages.
- Zend_Json
- PHP -> JSON and JSON -> PHP
- Zend_Pdf
- PDF manipulation engine written entirely in PHP 5.
- Zend_Measure
- Unit conversion, addition, subtraction and comparison. Numerous units of measurement are supported.
- Zend_Infocard
- Implements relying-party support for Information Cards. Infomation Cards are used for identity management on the internet and authentication of users to web sites (called relying parties).
External Data Sources & Services
- Zend_Http
- Interface for performing HTTP requests.
- Zend_Mail
- Send both text and MIME-compliant multipart e-mail messages.
- Zend_Rest
- Implement server and client RESTful web service interfaces.
- Zend_Feed
- Consume RSS and Atom feeds.
- Zend_XmlRpc
- Provides support for both consuming remote XML-RPC services and building new XML-RPC servers.
- Zend_Gdata
- Programmatic interfaces to some of Google’s online services.
- Zend_Service_Yahoo
- Programmatic interfaces to some of Yahoo’s online services.
- Zend_Service_Akismet
- Spam filtering via the Akismet API
- Zend_Service_Amazon
- Simple Amazon web services
client. - Zend_Service_Audioscrobbler
- Simple API for using the Audioscrobbler REST Web
Service. - Zend_Service_Delicious
- Simple API for using del.icio.us‘ XML and JSON web services.
- Zend_Service_Flickr
- Simple API for using the Flickr REST Web Service.
- Zend_Service_Simpy
- A lightweight wrapper using the Simpy social bookmarking service REST Web Service.
- Zend_Service_StrikeIron
- Access commercial web services via StrikeIron’s standard SOAP or REST APIs
- Zend_Service_Technorati
- An easy, intuitive and object-oriented interface for using the Technorati API.
Dates & Times, Internationalization & Localization
- Zend_Date
- Manipulate dates and times.
- Zend_Translate
- Supports multilingual applications
- Zend_Currency
- I18N currency support. Money representation and formatting.
- Zend_Locale
- L10N Support
Zend Framework-Specific
- Zend_Debug
- Zend_Debug::dump() returns (or displays) information about an expression.
- Zend_Version
- The class constant Zend_Version::VERSION contains a string that identifies the current version number of Zend Framework.
- Zend_Exception
- Base class for Exceptions thrown by the Zend Framework.
- Zend_Server_Reflection
- Provides a standard mechanism for performing function and class introspection for use with Zend_Server_* classes. Extends PHP 5’s Reflection API.
- Zend_Loader
- Methods to load files dynamically.
- Zend_Memory
- Manage data in a limited-memory environment. [It’s basically an application-level memory-paging mechanism, backed by file/sqlite/memcached/etc.]
Recent Comments