Recently I've started to use Zend framework next to my own framework. The solution at this moment for instance for the module "partner" having a rewrite condition in htaccess like
RewriteCond %{REQUEST_URI} ^./partner/?(.)
//redirect to build ZF
RewriteRule ^.*$ public/partner/index.php
// and the bootstrap files are
//index.php for Zend
set_include_path(APPLICATION_PATH . '../../../library/php/');
include_once 'Zend/Loader/Autoloader.php';
//index.php for own framework set_include_path(get_include_path() . PATH_SEPARATOR . 'library/php/');
Is it possible to use Zend components just like it would with PEAR components?
Or the question with different perspective
Am I required to choose one of the two MVC patterns to go along with?