Thursday, 12 April 2007
Article: Learn to Package Zend Framework in Symfony Plugin |
| |
|
| |
Dave Dash minimizes the Zend Search Lucene tutorial and presents the bits and pieces to you. He had packaged the Zend Framework into a Symfony plugin.
He gives you the following command to obtain it:
svn export http://svn.symfony-project.com/plugins/sfZendPlugin
He informs you that Symfony has a Zend Framework Bridge which let’s you to autoload the framework by adding the following to settings.yml:
.settings: zend_lib_dir: %SF_ROOT_DIR%/plugins/sfZendPlugin/lib autoloading_functions: - [sfZendFrameworkBridge, autoload]
After setting this up, he defines sf_zend_lib_dir in your plugin’s lib directory. Then, he says to autoload the bridge framework.
He adds that after the setting is done all the Zend classes will be available and auto-loaded from elsewhere in your code.
|
| |
|
|
| |
|
|
| |
|
|
| |
|