Zend Framework

Zend Framework is a collection of PHP classes

Zend Classes
ZendFlickr
ZendLayout
ZendPDF

Zend Autoload and Zend PDF example
Zend Autoload and Zend PDF example

Zend Path
If the Zend Framework classes are not in already your path (on a shared hosting account) you will need to add it
set_include_path('/yourpath/yourzend/' . PATH_SEPARATOR . get_include_path());


Zend Autoload 1.7
require_once 'Zend/Loader.php';
Zend_Loader::registerAutoload();


Zend Autoload 1.8, 1.9, 2.0+
If you are using Zend Autoload 1.8, 1.9, 2.0+ you will get the following error/warning :
Notice: 
Zend_Loader::Zend_Loader::registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; 
use Zend_Loader_Autoloader instead

so the code you need is
require_once 'Zend/Loader/Autoloader.php';
Zend_Loader_Autoloader::getInstance();

or
require_once 'Zend/Loader/Autoloader.php';
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->setFallbackAutoloader(true);


Zend Classes
You can now autoload Zend Framework classes such as ZendLayout or ZendPdf
$pdf = new Zend_Pdf();
var_dump($pdf);



REFERRERS
PhpFrameworks
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki