Zend Framework is a simple, straightforward, open-source software framework for PHP 5 designed to eliminate the tedious details of coding and let you focus on the big picture. Its strength is in its highly-modular MVC design, making your code more reusable and easier to maintain. Although it's currently in preview release, take a look---you may be surprised.
Still not sure? Visit [Is Zend Framework right for me?] for more information.
The following lists the components of Zend Framework, with a 2-3 line description and list of goals for the value that each component provides.
Zend_Acl provides lightweight and flexible access control list (ACL) functionality and privileges management.
- includes basic implementations for Roles and Resources
- Role and Resource objects may be instances of user-defined classes
- Resource tree supports rule inheritance
- supports multiple inheritance of access control rules among Roles
- supports conditional rule applicability via an assertion interface
Zend_Auth provides an API for authentication and includes concrete authentication adapters for common use case scenarios.
- provides adapter interface for customized authentication mechanisms
- identity storage is abstracted for simple customization
- simple and extensible API
Zend_Cache provides a flexible approach toward caching data, including tagging, manipulating, iterating, and removing subsets.
- provides multiple storage backends (File, Sqlite, Memcached...)
- provides multiple frontends (helpers for caching function or method calls, for caching a whole page...)
- simple and flexible for generic uses
Zend_Config simplifies the use of configuration data for web applications.
- provides a property-based interface for reading configuration data
- supports a variety of hierarchical data storage formats
- supports inheritance of configuration data from one section into another
Command-line PHP applications benefit from this convenient object-oriented interface for declaring, parsing, and reporting command-line arguments and options.
- supports GNU getopt syntax
- supports more extensive option declaration syntax
- supports automatic reporting of option usage help
These components provide the infrastructure for a Model-View-Controller website.
- provides simple and extensible MVC pattern
- provides PHP-based template engine by default
- provides support for application modules
- provides configuration-less architecture
Zend_Date offers a detailed, but simple API for manipulating dates and times.
- supports I18N and L10N throughout its API
- supports ISO and GNU/PHP standard tokens
- provides handling for dates bigger than 64bit
- provides sunset and sunrise calculation based on cities
This is a lightweight database access layer, providing an interface to PDO and other database extensions in PHP. It includes adapters for each database driver, a query profiler, and an API to construct most SELECT statements.
- provides abstract interface to multiple PHP database extensions
- based on PDO interface, but extends beyond that
- provides query profiler
- provides query builder
- provides robust SQL support including parameters and quoting
The Zend_Db_Table component is a lightweight solution for object-oriented programming with databases.
- implements table data gateway and row data gateway patterns
- discovers database metadata without the need for complex configuration files
- provides a solution for querying related tables
This component provides a very simple way to work with live syndicated feeds.
- consumes RSS and Atom feeds
- provides utilities for discovering feed links
- imports feeds from multiple sources
- providers feed building and posting operations
The input filtering component encourages the development of secure websites by providing the basic tools necessary for input filtering and validation.
- provides an extensible architecture for filters and validators
- supports UTF text data
- supports user-configurable messages for validation failures
This is a configurable solution for declaring and enforcing filtering and validation rules. This component serves as a "cage" for input data, so they are available to your application only after being validated.
- does not require configuration files
- supports declarative syntax for applying rules to collections of input data
- supports chaining of filters and validators
- supports automatic escaping of validated data values
The Google Data APIs provide read/write access to services hosted at google.com, for example, Spreadsheets, Calendar, Blogger, and CodeSearch.
- supports both authentication mechanisms of Google Data servers
- supports queries and posting changes against Google Data services
- supports service-specific element kinds in an object-oriented interface
- matches functionality and design of other Google Data API clients
This component provides a client for the HTTP protocol, without requiring any PHP extensions. It drives our web services
- supports URL validation
- supports cookies
- supports proxy servers
Easily convert PHP structures into JSON and vice versa for use in AJAX-enabled applications.
- uses PHP's ext/json when available
- supports encoding native PHP objects to JSON notation
Load files, classes, and resources dynamically in your PHP application.
- supports SPL autoloader
- supports include_path
- provides exception-based failure mechanism
Zend_Locale is the Framework's answer to the question, "How can the same application be used around the whole world?" This component is the foundation of Zend_Date, Zend_Translate, and others.
- provides access to CLDR, an international data repository for I18N issues, for all framework classes
- provides localizing of numbers
- provides normalizing of dates, times and numbers
Log data to the console, flat files, or a database. Its no-frills, simple, procedural API reduces the hassle of logging to one line and is perfect for cron jobs and error logs.
- provides a simple object-oriented interface inspired by log4j
- supports extensible output channels
- supports extensible output formats
Almost every internet application needs to send email. Zend_Mail, assisted by Zend_Mime, creates email messages and sends them.
- supports attachments
- supports MIME types
- supports a variety of mail storage protocols
- supports multiple mail transport agents
- supports a variety of authentication mechanisms
Using Zend_Measure, you can convert measurements into different units of the same type. They can be added, subtracted and compared against each other.
- supports localized handling of measurements and numbers
- supports converting of measurements and numbers
Zend_Memory offers an API for managing data in a limited memory mode. A PHP developer can create a Zend_Memory object to store and access large amounts of data, which would exceed the memory usage limits imposed by some PHP environments.
- goal 1
- goal 2
- goal 3
Portable Document Format (PDF) from Adobe is the de facto standard for cross-platform rich documents. Now, PHP applications can create or read PDF documents on the fly, without the need to call utilities from the shell, depend on PHP extensions, or pay licensing fees. Zend_PDF can even modify existing PDF documents.
- supports Adobe PDF file format
- parses PDF structure and provides access to elements
- creates or modifies PDF documents
- utilizes memory efficiently
This component provides an object-oriented storage mechanism for application-global data.
- goal 1
- goal 2
- goal 3
Zend_Rest provides a simple, object oriented interface for consuming and providing XML-based REST web services.
- goal 1
- goal 2
- goal 3
Roy Fielding says:
REST enables intermediate processing by constraining messages to be self-descriptive: interaction is stateless between requests, standard methods and media types are used to indicate semantics and exchange information, and responses explicitly indicate cacheability.
The Apache Lucene engine is a powerful, feature-rich Java search engine that is flexible about document storage and supports many complex query types. Zend_Search_Lucene is a port of this engine written entirely in PHP 5
- allows PHP-powered websites to leverage powerful search capabilities without the need for web services or Java
- provides binary compatibility with Apache Lucene
- matches Apache Lucene in performance
Web services are important to the PHP developer creating the next generation of mashups and composite applications. The Zend Framework provides wrappers for service APIs from major providers to make it as simple as possible to use those web services from your PHP application.
- fetch web service data from popular providers with just a few lines of code
- simplified object-oriented API encapsulates the underlying protocols and formats
- features an ever-growing set of components to accommodate new and relevant services
Zend_Session helps manage and preserve session data across multiple page requests by the same client.
- provides an object-oriented interface to access session data
- provides optional security features to help protect against session hijacking
- supports namespaced access to the PHP session for interoperability
The Zend_Translate component provides the Zend Framework with message translation functionality.
- provides a simple and consistent object-oriented interface to translated message storage
- supports industry-standard message storage formats such as gettext, TMX, Qt, XLIFF and others
- provides thread-safe gettext implementation
Zend_Uri is a component that aids in manipulating and validating Uniform Resource Identifiers (URIs).
- goal 1
- goal 2
- goal 3
Zend_XmlRpc makes it easy to communicate with and create XML-RPC services from PHP.
- mimics PHP's SOAP extension
- flexible request and response implementation allows for use with non-HTTP services
- server implementation allows attaching existing classes to quickly expose APIs as XML-RPC services