Hi Matt!
Of course you can use Zend Framework as a component library. Just
require the part you like (and make sure library/ is in your
include_path):
<?php
// just using config
require_once 'Zend/Config.php';
$config = new Zend_Config(...);
// or if you're like me and want to use your mail storage ;)
require_once 'Zend/Mail/Storage/Pop3.php';
$mail = new Zend_Mail_Storage_Pop3(...);
// if you want to load on demand use Zend_Loader:
require_once 'Zend/Loader.php';
Zend_Loader::registerAutoload();
// and now let's load search without require
$index = Zend_Search_Lucene::open(...);
?>
You see, it's easy. And you can also mix Zend Framework with other
component libraries (cherry picking ;).
nico
[05.06.2007 13:46] Matt M. wrote:
Hi,
I've got my own MVC setup that I've been using for a while. I'd
like to
integrate a lot of the Zend components into my framework, but NOT
use the
MVC part. At this point, the Zend_Http_Request and Zend_View
classes seem
pretty clean and separate from the MVC framework side of Zend. So
in other
words, is the goal to create re-usable components that aren't
necessarily
tied into the MVC part? Would I be better off using something like EZ
Components?
Thanks!