Posted by Rob Loach on December 4, 2007 at 11:04pm
The Zend Framework is a powerful open source web application framework for developing PHP 5 web applications. The Zend Framework module is a Drupal API module that makes the framework accessible to other Drupal modules.
Versions
For Drupal 7:
- 2.x: The 2.x branch brings ZF2, currently in development, to Drupal.
- 1.x: The 1.x branch brings the 1.x version of the Zend Framework to Drupal. This is the current stable and recommended branch of Zend.
For Drupal 6:
- 2.x: The 2.x branch brings the 1.x version of the Zend Framework to Drupal. This is the current stable and recommended branch of Zend.
Installation
- Download and install the Zend module.
- Get the Zend Library. There are 3 ways to do this:
- Install the Zend Framework in your PHP include path. One way to do this is via Pear.
- Install the libraries module and place the Zend folder of the Zend Framework download in a libraries folder.
- Download the Zend Framework to an alternate location and set that location in the zend_path variable or on the Zend Framework configuration page.
Use It
Once the framework is installed you can just use it. The Zend classes are available to use and will be autoloaded as needed. For example, in Zend Framework 1.x:
<?php
$form = new Zend_Form();
?>of in Zend Framework 2.x:
<?php
$form = new ZendFormForm();
?>Project Information
- Module categories: Developer, Third-party Integration, Utility
- Maintenance status: Unknown
- Development status: Unknown
- Reported installs: 396 sites currently report using this module. View usage statistics.
- Last modified: May 14, 2011
