Zend Framework users who deploy Zend Server for IBMi will benefit from a pre-configured stack that includes all the system components for developing Web applications with PHP.
The Zend Framework files are placed in:
Windows | RPM,DEB, Mac | |
Zend Framework 1 |
<install_path>\share\ZendFramework |
<install_path>/share/ZendFramework |
Zend Framework 2 |
<install_path>\share\ZendFramework2 |
<install_path>/share/ZendFramework2 |
The following procedures explain how to load Zend Framework's classes in your script.
The Zend Loader utility class checks whether the class already exists within the script. If it does, it will create the relevant file from the class name using Zend Framework's naming convention (See http://framework.zend.com for more information on Zend Framework's naming conventions). If the class already exists, this will speed up performance.
Using the Zend Loader also has the added advantage of loading classes outside of Zend Framework.
|
|
|
To use the Zend Loader:
|
|
Classes can also be called using the conventional require or include calls:
|
|
|
To use 'require class':
|
|
In order to see a full list of Zend Framework's components, including more information on the functionality and use of the various components, see http://framework.zend.com
|
|
|
Related Links: http://framework.zend.com - external link http://framework.zend.com - external link |
|
|
© 1999-2013 Zend Technologies, Ltd. All rights reserved.